[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
59/59: gnu: flex: Fix build for the 64bit Hurd.
From: |
guix-commits |
Subject: |
59/59: gnu: flex: Fix build for the 64bit Hurd. |
Date: |
Mon, 11 Nov 2024 09:56:13 -0500 (EST) |
janneke pushed a commit to branch hurd-team
in repository guix.
commit bf9b13cd1c109adbc372e15d9f17bf1ebe580446
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))
- 40/59: gnu: netdde: Update to c0ef248dc7c5ccc1273e2a796f3ece30c5b645df., (continued)
- 40/59: gnu: netdde: Update to c0ef248dc7c5ccc1273e2a796f3ece30c5b645df., guix-commits, 2024/11/11
- 56/59: system: examples: devel-hurd: Add hurd dependencies., guix-commits, 2024/11/11
- 52/59: gnu: commencement: gnumach-headers-boot0: Update to 1.8+git20240714., guix-commits, 2024/11/11
- 48/59: gnu: guile-fibers: Fix build for the 64bit Hurd., guix-commits, 2024/11/11
- 45/59: gnu: git-minimal: Support the 64bit Hurd., guix-commits, 2024/11/11
- 44/59: gnu: hurd: Build fixes for the 64bit Hurd., guix-commits, 2024/11/11
- 43/59: gnu: rumpkernel: Support the 64bit Hurd., guix-commits, 2024/11/11
- 39/59: gnu: libpciaccess: Support the 64bit Hurd., guix-commits, 2024/11/11
- 42/59: gnu: rumpkernel: Update to f1ffd6405f225336e595a0f99f01095ed7438337., guix-commits, 2024/11/11
- 57/59: gnu: gettext: Fix cross-build shebangs., guix-commits, 2024/11/11
- 59/59: gnu: flex: Fix build for the 64bit Hurd.,
guix-commits <=
- 47/59: gnu: grub: Fix build for the 64bit Hurd., guix-commits, 2024/11/11
- 50/59: squash! gnu: gnumach: Update to v1.8+git20240714., guix-commits, 2024/11/11
- 54/59: gnu: commencement: hurd-headers-boot0: Update to 0.9.git20240714., guix-commits, 2024/11/11
- 51/59: gnu: m4: Fix build for the 64bit Hurd., guix-commits, 2024/11/11
- 58/59: gnu: texinfo-4: Fix build for the 64bit Hurd., guix-commits, 2024/11/11
- 55/59: gnu: commencement: libstdc++-boot0-gcc7: Replace by make-libstdc++-boot0., guix-commits, 2024/11/11
- 49/59: system: hurd: Use 64bit gnumach for the 64bit Hurd., guix-commits, 2024/11/11
- 53/59: gnu: commencement: mig-boot0: Update to 1.8+git20231217.., guix-commits, 2024/11/11