3
5
Fork 0
mirror of git://git.savannah.gnu.org/guix.git synced 2023-12-14 03:33:07 +01:00

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.
This commit is contained in:
Ludovic Courtès 2021-09-06 15:17:39 +02:00
parent aa1e952d21
commit b792bc899d
No known key found for this signature in database
GPG key ID: 090B11993D9AEBB5

View file

@ -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