[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
01/05: gnu: guile@1.8: Build with '-O1'.
From: |
guix-commits |
Subject: |
01/05: gnu: guile@1.8: Build with '-O1'. |
Date: |
Mon, 6 Sep 2021 16:57:41 -0400 (EDT) |
civodul pushed a commit to branch core-updates-frozen
in repository guix.
commit b792bc899d4c88b8ccd50659c7dcccb3271200d1
Author: Ludovic Courtès <ludo@gnu.org>
AuthorDate: Mon Sep 6 15:17:39 2021 +0200
gnu: guile@1.8: Build with '-O1'.
Fixes <https://issues.guix.gnu.org/50427>.
* gnu/packages/guile.scm (guile-1.8)[arguments]: Pass "CFLAGS" to
#:configure-flags.
---
gnu/packages/guile.scm | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/gnu/packages/guile.scm b/gnu/packages/guile.scm
index fffc30f..b0b6b16 100644
--- a/gnu/packages/guile.scm
+++ b/gnu/packages/guile.scm
@@ -86,7 +86,12 @@
"0l200a0v7h8bh0cwz6v7hc13ds39cgqsmfrks55b1rbj5vniyiy3"))
(patches (search-patches "guile-1.8-cpp-4.5.patch"))))
(build-system gnu-build-system)
- (arguments '(#:configure-flags '("--disable-error-on-warning")
+ (arguments '(#:configure-flags '("--disable-error-on-warning"
+
+ ;; Build with '-O1' to work around GC
+ ;; crash on x86_64:
+ ;; <https://issues.guix.gnu.org/50427>.
+ "CFLAGS=-O1 -g -Wall")
;; Insert a phase before `configure' to patch things up.
#:phases