summary refs log tree commit diff
diff options
context:
space:
mode:
authorJohn Doe <dftxbs3e@free.fr>2020-12-28 21:24:15 +0100
committer宋文武 <iyzsong@member.fsf.org>2021-02-11 17:12:17 +0800
commit988ac06ce8cf9b1760094e0e2ff23960355d07eb (patch)
treea8b2064fe24cbd7cd2fb947a384cfe734cfdb206
parente429325d37e5752656a03882f60ee56d4f541fd1 (diff)
downloadguix-988ac06ce8cf9b1760094e0e2ff23960355d07eb.tar.gz
gnu: vim: Fix test_signals test.
* gnu/packages/vim.scm (vim)[arguments]: Add "CFLAGS=-D_REENTRANT" to

Signed-off-by: 宋文武 <iyzsong@member.fsf.org>
-rw-r--r--gnu/packages/vim.scm2
1 files changed, 2 insertions, 0 deletions
diff --git a/gnu/packages/vim.scm b/gnu/packages/vim.scm
index 3e120fac17..372d470e09 100644
--- a/gnu/packages/vim.scm
+++ b/gnu/packages/vim.scm
@@ -84,6 +84,8 @@
     (arguments
      `(#:test-target "test"
        #:parallel-tests? #f
+       ;; Fix test_signals.vim. https://github.com/vim/vim/issues/7402
+       #:make-flags (list "CFLAGS=-D_REENTRANT")
        #:phases
        (modify-phases %standard-phases
          (add-after 'configure 'patch-absolute-paths