[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
35/35: gnu: m4: Fix build of tests on the 64bit Hurd.
From: |
guix-commits |
Subject: |
35/35: gnu: m4: Fix build of tests on the 64bit Hurd. |
Date: |
Tue, 3 Dec 2024 02:45:52 -0500 (EST) |
janneke pushed a commit to branch master
in repository guix.
commit 178c3115c47905f4ddad2740ada2725db42ed478
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Nov 25 19:45:50 2024 +0100
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
---
gnu/packages/m4.scm | 6 ++++++
1 file changed, 6 insertions(+)
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
- 22/35: gnu: bootstrap: %bootstrap-glibc: Also fix libm.so., (continued)
- 22/35: gnu: bootstrap: %bootstrap-glibc: Also fix libm.so., guix-commits, 2024/12/03
- 27/35: gnu: hurd: Add refcounts-assert patch., guix-commits, 2024/12/03
- 29/35: gnu: commencement: libstdc++-boot0: Support the 64bit Hurd., guix-commits, 2024/12/03
- 31/35: gnu: commencement: gcc-final: Support the 64bit Hurd., guix-commits, 2024/12/03
- 24/35: system: examples: Add devel-hurd64.tmpl., guix-commits, 2024/12/03
- 16/35: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20240714., guix-commits, 2024/12/03
- 20/35: gnu: gettext: Fix cross-build shebangs., guix-commits, 2024/12/03
- 15/35: gnu: m4: Fix build for the 64bit Hurd., guix-commits, 2024/12/03
- 19/35: gnu: commencement: libstdc++-boot0-gcc7: Replace by make-libstdc++-boot0., guix-commits, 2024/12/03
- 26/35: gnu: commencement: kernel-headers-boot0: Support the 64bit Hurd., guix-commits, 2024/12/03
- 35/35: gnu: m4: Fix build of tests on the 64bit Hurd.,
guix-commits <=
- 21/35: gnu: Add gdb-15.2, with support for the 64bit Hurd., guix-commits, 2024/12/03
- 18/35: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20240714., guix-commits, 2024/12/03
- 14/35: gnu: guile-fibers: Fix build for the 64bit Hurd., guix-commits, 2024/12/03
- 23/35: system: examples: Add bare-hurd64.tmpl., guix-commits, 2024/12/03
- 32/35: gnu: coreutils: Skip some tests on the 64bit Hurd., guix-commits, 2024/12/03
- 25/35: gnu: Use gcc-14, gcc-toolchain-14 on the 64bit Hurd., guix-commits, 2024/12/03
- 33/35: gnu: grep: Skip a test on the 64bit Hurd., guix-commits, 2024/12/03
- 34/35: gnu: diffutils: Skip some tests on the 64bit Hurd., guix-commits, 2024/12/03
- 30/35: gnu: commencement: gcc-boot0: Support the 64bit Hurd., guix-commits, 2024/12/03
- 06/35: gnu: libpciaccess: Support the 64bit Hurd., guix-commits, 2024/12/03