From feeea7aef2f06ff0421ea57e2da45f352f5e4dd9 Mon Sep 17 00:00:00 2001 From: Yelninei Date: Tue, 11 Nov 2025 19:53:39 +0000 Subject: [PATCH] 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