summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRicardo Wurmus <rekado@elephly.net>2023-02-07 19:47:48 +0100
committerRicardo Wurmus <rekado@elephly.net>2023-02-07 19:47:48 +0100
commit6f66df9153d5df11a12efcf6dafcb3ef40492da8 (patch)
tree6406d9d4af30a931e47901f682db80a651d63885
parente03c7c32edb957ee36614755a37cbc5c270a2297 (diff)
gnu: bristol: Pass -fcommon.
* gnu/packages/music.scm (bristol)[arguments]: Add build phase 'add-fcommon.
-rw-r--r--gnu/packages/music.scm4
1 files changed, 4 insertions, 0 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index d870e4016a..ec500a2d17 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -2613,6 +2613,10 @@ Laurens Hammond and Don Leslie.")
(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