gnu: bristol: Pass -fcommon.

* gnu/packages/music.scm (bristol)[arguments]: Add build phase 'add-fcommon.
This commit is contained in:
Ricardo Wurmus 2023-02-07 19:47:48 +01:00
parent e03c7c32ed
commit 6f66df9153
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -2613,6 +2613,10 @@ (define-public bristol
(string-prefix? "i686" system)))
(substitute* "bristol/Makefile.in"
(("-msse -mfpmath=sse") "")))))
;; This is needed to build brighton
(add-after 'unpack 'add-fcommon
(lambda _
(setenv "CFLAGS" "-fcommon")))
;; alsa-lib 1.1.x no longer provides iatomic.h. That's okay because
;; bristol actually doesn't use it.
(add-after 'unpack 'do-not-use-alsa-iatomic