gnu: vim-full: Remove duplicate 'make-flags'.

Fixes <https://bugs.gnu.org/46580>.

Co-authored-by: Tobias Geerinckx-Rice <me@tobias.gr>

* gnu/packages/vim.scm (vim-full)[arguments]: Remove duplicate
'make-flags'.

Signed-off-by: Tobias Geerinckx-Rice <me@tobias.gr>
This commit is contained in:
Tobias Geerinckx-Rice 2021-03-06 01:07:24 +01:00
parent 170cf035ce
commit c8cbd369eb
No known key found for this signature in database
GPG key ID: 0DB0FF884F556D79

View file

@ -9,6 +9,7 @@
;;; Copyright © 2019 Julien Lepiller <julien@lepiller.eu>
;;; Copyright © 2019, 2020 Jakub Kądziołka <kuba@kadziolka.net>
;;; Copyright © 2020 Jack Hill <jackhill@jackhill.us>
;;; Copyright © 2021 Simon Tournier <zimon.toutoune@gmail.com>
;;;
;;; This file is part of GNU Guix.
;;;
@ -216,11 +217,14 @@ (define-public vim-full
"--enable-xim"
"--disable-selinux"
"--enable-gui")
;; This flag fixes the following error:
;; .../libpython3.7m.a(pyexpat.o): undefined reference to symbol 'XML_FreeContentModel'
;; .../libexpat.so.1: error adding symbols: DSO missing from command line
#:make-flags '("LDFLAGS=-lexpat")
,@(substitute-keyword-arguments (package-arguments vim)
;; This flag fixes the following error:
;; .../libpython3.7m.a(pyexpat.o): undefined reference to symbol 'XML_FreeContentModel'
;; .../libexpat.so.1: error adding symbols: DSO missing from command line
((#:make-flags flags)
`(append
(list "LDFLAGS=-lexpat")
(delete "CFLAGS=-D_REENTRANT" ,flags)))
((#:phases phases)
`(modify-phases ,phases
(add-before 'check 'start-xserver