[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
38/40: gnu: flex: Fix build for the 64bit Hurd.
From: |
guix-commits |
Subject: |
38/40: gnu: flex: Fix build for the 64bit Hurd. |
Date: |
Tue, 12 Nov 2024 11:22:04 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit 4c0589e8f0a3a305ac75921c57f6d89301a43adb
Author: Janneke Nieuwenhuizen <janneke@gnu.org>
AuthorDate: Mon Nov 11 15:52:48 2024 +0100
gnu: flex: Fix build for the 64bit Hurd.
* gnu/packages/flex.scm (flex): When building for the 64bit Hurd, add
"-Wno-int-conversion "-Wno-implicit-function-declaration" to
#:configure-flags.
Change-Id: Ia0503e3f5c7aa5354a949b69035a1be6f93ec85f
---
gnu/packages/flex.scm | 8 ++++++++
1 file changed, 8 insertions(+)
diff --git a/gnu/packages/flex.scm b/gnu/packages/flex.scm
index 7972675971..cf2dfe9ec9 100644
--- a/gnu/packages/flex.scm
+++ b/gnu/packages/flex.scm
@@ -1,6 +1,7 @@
;;; GNU Guix --- Functional package management for GNU
;;; Copyright © 2012, 2013, 2014, 2019 Ludovic Courtès <ludo@gnu.org>
;;; Copyright © 2016 Efraim Flashner <efraim@flashner.co.il>
+;;; Copyright © 2024 Janneke Nieuwenhuizen <janneke@gnu.org>
;;;
;;; This file is part of GNU Guix.
;;;
@@ -22,6 +23,7 @@
#:use-module (guix packages)
#:use-module (guix download)
#:use-module (guix build-system gnu)
+ #:use-module (guix gexp)
#:use-module (guix utils)
#:use-module (gnu packages)
#:use-module (gnu packages m4)
@@ -53,6 +55,12 @@
((#:tests? _ #f) #f)))
(inputs (alist-delete "flex" (package-inputs bison))))))
`(("bison" ,bison-for-tests))))
+ (arguments
+ (if (target-hurd64?)
+ (list #:configure-flags
+ #~'(#$(string-append "CFLAGS=-Wno-int-conversion"
+ " -Wno-implicit-function-declaration")))
+ '()))
;; m4 is not present in PATH when cross-building
(native-inputs
(list help2man m4))
- 08/40: gnu: elfutils: Fix build for 64bit Hurd., (continued)
- 08/40: gnu: elfutils: Fix build for 64bit Hurd., guix-commits, 2024/11/12
- 19/40: gnu: openssl-3.0: Support the 64bit Hurd., guix-commits, 2024/11/12
- 27/40: gnu: git-minimal: Support the 64bit Hurd., guix-commits, 2024/11/12
- 28/40: gnu: inetutils: Fix build for the 64bit Hurd., guix-commits, 2024/11/12
- 29/40: gnu: grub: Fix build for the 64bit Hurd., guix-commits, 2024/11/12
- 34/40: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20240714., guix-commits, 2024/11/12
- 10/40: gnu: patch: Fix build for the 64bit Hurd., guix-commits, 2024/11/12
- 20/40: gnu: pciutils: Support the 64bit Hurd., guix-commits, 2024/11/12
- 30/40: gnu: guile-fibers: Fix build for the 64bit Hurd., guix-commits, 2024/11/12
- 31/40: gnu: m4: Fix build for the 64bit Hurd., guix-commits, 2024/11/12
- 38/40: gnu: flex: Fix build for the 64bit Hurd.,
guix-commits <=
- 13/40: gnu: gcc-13, gcc-14: Support being used as parent for gcc-static., guix-commits, 2024/11/12
- 14/40: DRAFT gnu: bootstrap: Add support for x86_64-gnu, aka the 64bit Hurd., guix-commits, 2024/11/12
- 16/40: gnu: Add libgpg-error-1.50., guix-commits, 2024/11/12
- 33/40: gnu: commencement: mig-boot0: Update to 1.8+git20231217.., guix-commits, 2024/11/12
- 37/40: gnu: texinfo-4: Fix build for the 64bit Hurd., guix-commits, 2024/11/12
- 22/40: gnu: netdde: Update to c0ef248dc7c5ccc1273e2a796f3ece30c5b645df., guix-commits, 2024/11/12
- 25/40: gnu: rumpkernel: Support the 64bit Hurd., guix-commits, 2024/11/12
- 36/40: gnu: gettext: Fix cross-build shebangs., guix-commits, 2024/11/12
- 11/40: gnu: libxcrypt: Support the 64bit Hurd., guix-commits, 2024/11/12
- 12/40: gnu: libstdc++: Support the 64bit Hurd., guix-commits, 2024/11/12