[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
56/74: gnu: flex: Use -Wno-error= for cross-build.
From: |
guix-commits |
Subject: |
56/74: gnu: flex: Use -Wno-error= for cross-build. |
Date: |
Sun, 15 Dec 2024 18:06:10 -0500 (EST) |
janneke pushed a commit to branch core-packages-team
in repository guix.
commit 300699f841be191a7f72652e5026e5d420611b1a
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Thu Dec 12 14:25:11 2024 +0100
gnu: flex: Use -Wno-error= for cross-build.
* gnu/packages/flex.scm (flex)[arguments]: Insert "error=" in
#:configure-flags.
Change-Id: If564a1fd50ae754ad499b7985e2166c352e32e1a
---
gnu/packages/flex.scm | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/flex.scm b/gnu/packages/flex.scm
index 4ad1e1382a..665b678d02 100644
--- a/gnu/packages/flex.scm
+++ b/gnu/packages/flex.scm
@@ -58,8 +58,10 @@
(arguments
(if (or (target-hurd64?) (%current-target-system))
(list #:configure-flags
- #~'(#$(string-append "CFLAGS=-Wno-int-conversion"
- " -Wno-implicit-function-declaration")))
+ #~'(#$(string-append
+ "CFLAGS=-g -O2"
+ " -Wno-error=implicit-function-declaration"
+ " -Wno-error=int-conversion")))
'()))
;; m4 is not present in PATH when cross-building
(native-inputs
- 05/74: gnu: gcc-boot0: Fix building on powerpc64le-linux., (continued)
- 05/74: gnu: gcc-boot0: Fix building on powerpc64le-linux., guix-commits, 2024/12/15
- 13/74: gnu: unzip: Fix build with gcc-14., guix-commits, 2024/12/15
- 39/74: gnu: cyrus-sasl: Fix build mwith gcc-14., guix-commits, 2024/12/15
- 40/74: gnu: jack-1: Fix build with gcc-14., guix-commits, 2024/12/15
- 61/74: gnu: libssh: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/15
- 57/74: gnu: hurd: Use -Wno-error=., guix-commits, 2024/12/15
- 60/74: gnu: m4: Use -Wno-error= for Hurd cross-build., guix-commits, 2024/12/15
- 65/74: gnu: bootstrap: %bootstrap-glibc: Fix linking on armhf-linux., guix-commits, 2024/12/15
- 06/74: gnu: bash-minimal: Fix build for x86-linux with gcc-14., guix-commits, 2024/12/15
- 03/74: Revert "Partial revert "gnu: make-bootstrap: Update gcc-static to gcc-14, for the 64bit Hurd."", guix-commits, 2024/12/15
- 56/74: gnu: flex: Use -Wno-error= for cross-build.,
guix-commits <=
- 54/74: gnu: tevent: Update to 0.16.1; fixes build with gcc-14., guix-commits, 2024/12/15
- 53/74: gnu: slim: Fix build with gcc-14., guix-commits, 2024/12/15
- 28/74: gnu: nlohmann-json: Update to 3.11.3; fixes build with gcc-14., guix-commits, 2024/12/15
- 72/74: guix: build-system: cmake: Rework cross compilation., guix-commits, 2024/12/15
- 27/74: gnu: cmake-bootstrap: Fix build with gcc-14., guix-commits, 2024/12/15
- 14/74: gnu: automake: Fix build with gcc-14., guix-commits, 2024/12/15
- 33/74: gnu: localed: Fix build with gcc-14., guix-commits, 2024/12/15