me
/
guix
Archived
1
0
Fork 0

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.
master
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
1 changed files with 6 additions and 1 deletions

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