diff options
author | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-11-25 19:45:50 +0100 |
---|---|---|
committer | Janneke Nieuwenhuizen <janneke@gnu.org> | 2024-12-03 08:42:52 +0100 |
commit | 178c3115c47905f4ddad2740ada2725db42ed478 (patch) | |
tree | 064219307adbe357b444af1ce131a001f4be2e9b /gnu/packages/m4.scm | |
parent | d9bb372453cc74f8da7a475d688aabce47e6a14d (diff) | |
download | guix-178c3115c47905f4ddad2740ada2725db42ed478.tar.gz guix-178c3115c47905f4ddad2740ada2725db42ed478.zip |
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
Diffstat (limited to 'gnu/packages/m4.scm')
-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 |