diff options
author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-11-25 19:45:50 +0100 |
---|---|---|
committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-11-25 20:38:43 +0100 |
commit | 6adf567021e9f8d20eacb979bd481b9370e68e81 (patch) | |
tree | ac94fb19eb6be2d142b353e66edb61f7aa89ac2b | |
parent | 3b67942f473bb1ce2257bd89b99259f19561fd4a (diff) |
gnu: m4: Fix build of tests on the 64bit Hurd.
* gnu/packages/m4.scm (m4)[arguments]: When building on the 64bit Hurd,
add CFLAGS to #:configure-flags.
Change-Id: Iab16194f4cd2911b4610dddd855064ddc4958dd9
-rw-r--r-- | gnu/packages/m4.scm | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gnu/packages/m4.scm b/gnu/packages/m4.scm index 081304db34..800b11cca2 100644 --- a/gnu/packages/m4.scm +++ b/gnu/packages/m4.scm @@ -43,6 +43,12 @@ `(;; Explicitly disable tests when cross-compiling, otherwise 'make check' ;; proceeds and fails, unsurprisingly. #:tests? ,(not (%current-target-system)) + ,@(if (system-hurd64?) + (list #:configure-flags + `'(,(string-append + "CFLAGS=-g -O2" + " -Wno-implicit-function-declaration"))) + '()) #:phases (modify-phases %standard-phases (add-after 'unpack 'disable-test |