mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2026-04-06 21:20:33 +02:00
gnu: flex: Simplify configure flags for cross compiling.
* gnu/packages/flex.scm (flex)[#:configure-flags]: Remove target-hurd64? check and don't set CFLAGS. Change-Id: I1c177cd78b0e489126eba08ec39f90d34d6e63e8
This commit is contained in:
committed by
Janneke Nieuwenhuizen
parent
317d8934a5
commit
feeea7aef2
@@ -56,14 +56,10 @@
|
||||
(inputs (alist-delete "flex" (package-inputs bison))))))
|
||||
`(("bison" ,bison-for-tests))))
|
||||
(arguments
|
||||
(if (or (target-hurd64?) (%current-target-system))
|
||||
(if (%current-target-system)
|
||||
(list #:configure-flags
|
||||
#~'("ac_cv_func_malloc_0_nonnull=yes"
|
||||
"ac_cv_func_realloc_0_nonnull=yes"
|
||||
#$(string-append
|
||||
"CFLAGS=-g -O2"
|
||||
" -Wno-error=implicit-function-declaration"
|
||||
" -Wno-error=int-conversion")))
|
||||
"ac_cv_func_realloc_0_nonnull=yes"))
|
||||
'()))
|
||||
;; m4 is not present in PATH when cross-building
|
||||
(native-inputs
|
||||
|
||||
Reference in New Issue
Block a user