guix_mirror_bot pushed a commit to branch hurd-team
in repository guix.
commit 84a5faca0dd670a49120f10870e784766e605bf8
Author: Yelninei <[email protected]>
AuthorDate: Tue Nov 11 19:53:39 2025 +0000
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
---
gnu/packages/flex.scm | 8 ++------
1 file changed, 2 insertions(+), 6 deletions(-)
diff --git a/gnu/packages/flex.scm b/gnu/packages/flex.scm
index bc4498b633..22c309ec23 100644
--- a/gnu/packages/flex.scm
+++ b/gnu/packages/flex.scm
@@ -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