diff options
author | Zheng Junjie <z572@z572.online> | 2025-02-12 22:51:15 +0800 |
---|---|---|
committer | Andreas Enge <andreas@enge.fr> | 2025-07-18 20:17:30 +0200 |
commit | 479a0dd5798ad24b5387483ac4882ec5caf9d618 (patch) | |
tree | a32a37c0aeca8c8adbfde0bf437a87ac9c3631e5 | |
parent | ff6ae006b6a3364785aa4e656ce39a521f0d8aa8 (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"))) |