mirror of
https://git.savannah.gnu.org/git/guix.git
synced 2025-01-31 06:46:50 +01:00
gnu: flex: Use -Wno-error= for cross-build.
* gnu/packages/flex.scm (flex)[arguments]: Insert "error=" in #:configure-flags. Change-Id: If564a1fd50ae754ad499b7985e2166c352e32e1a
This commit is contained in:
parent
fb9f0abe0a
commit
1b57237c51
1 changed files with 4 additions and 2 deletions
|
@ -58,8 +58,10 @@ (define-public flex
|
|||
(arguments
|
||||
(if (or (target-hurd64?) (%current-target-system))
|
||||
(list #:configure-flags
|
||||
#~'(#$(string-append "CFLAGS=-Wno-int-conversion"
|
||||
" -Wno-implicit-function-declaration")))
|
||||
#~'(#$(string-append
|
||||
"CFLAGS=-g -O2"
|
||||
" -Wno-error=implicit-function-declaration"
|
||||
" -Wno-error=int-conversion")))
|
||||
'()))
|
||||
;; m4 is not present in PATH when cross-building
|
||||
(native-inputs
|
||||
|
|
Loading…
Reference in a new issue