From b792bc899d4c88b8ccd50659c7dcccb3271200d1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ludovic=20Court=C3=A8s?= Date: Mon, 6 Sep 2021 15:17:39 +0200 Subject: [PATCH] gnu: guile@1.8: Build with '-O1'. Fixes . * 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 fffc30f913..b0b6b16ff9 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: + ;; . + "CFLAGS=-O1 -g -Wall") ;; Insert a phase before `configure' to patch things up. #:phases