diff options
author | Zheng Junjie <z572@z572.online> | 2025-02-12 22:51:15 +0800 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-03-31 10:48:04 +0200 |
commit | d87d2f51b3f5aedc01ae64b349ebbc6844c0539c (patch) | |
tree | f58b759c44343f54bcf347a574b3de1f24459f68 | |
parent | 0c6344a7f615f7777ccd82c038faa8a1d07b04c3 (diff) |
gnu: flex: Fix cross-compiling.
* gnu/packages/flex.scm (flex)[arguments]<#:configure-flags>: When
cross-compiling, add ac_cv_func_malloc_0_nonnull=yes and
ac_cv_func_realloc_0_nonnull=yes.
Change-Id: I89718a19e2b3c5a5f5732049f3b0bcd7621e9f1b
-rw-r--r-- | gnu/packages/flex.scm | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gnu/packages/flex.scm b/gnu/packages/flex.scm index 665b678d02..bc4498b633 100644 --- a/gnu/packages/flex.scm +++ b/gnu/packages/flex.scm @@ -58,7 +58,9 @@ (arguments (if (or (target-hurd64?) (%current-target-system)) (list #:configure-flags - #~'(#$(string-append + #~'("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"))) |