gnu: alsa-modular-synth: Hide default GCC.
* gnu/packages/audio.scm (alsa-modular-synth)[native-inputs]: Distinguish GCC-5. [arguments]: Add build phase "hide-default-gcc".master
parent
401e6ccb12
commit
ea7882b2e3
|
@ -185,6 +185,17 @@ implementation of Adaptive Multi Rate Narrowband and Wideband
|
||||||
"CXXFLAGS=-std=gnu++11")
|
"CXXFLAGS=-std=gnu++11")
|
||||||
#:phases
|
#:phases
|
||||||
(modify-phases %standard-phases
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'set-paths 'hide-default-gcc
|
||||||
|
(lambda* (#:key inputs #:allow-other-keys)
|
||||||
|
(let ((gcc (assoc-ref inputs "gcc")))
|
||||||
|
;; Remove the default GCC from CPLUS_INCLUDE_PATH to prevent
|
||||||
|
;; conflicts with the GCC 5 input.
|
||||||
|
(setenv "CPLUS_INCLUDE_PATH"
|
||||||
|
(string-join
|
||||||
|
(delete (string-append gcc "/include/c++")
|
||||||
|
(string-split (getenv "CPLUS_INCLUDE_PATH") #\:))
|
||||||
|
":"))
|
||||||
|
#t)))
|
||||||
;; Insert an extra space between linker flags.
|
;; Insert an extra space between linker flags.
|
||||||
(add-before 'configure 'add-missing-space
|
(add-before 'configure 'add-missing-space
|
||||||
(lambda _
|
(lambda _
|
||||||
|
@ -205,7 +216,7 @@ implementation of Adaptive Multi Rate Narrowband and Wideband
|
||||||
(native-inputs
|
(native-inputs
|
||||||
`(("pkg-config" ,pkg-config)
|
`(("pkg-config" ,pkg-config)
|
||||||
("qttools" ,qttools)
|
("qttools" ,qttools)
|
||||||
("gcc" ,gcc-5)))
|
("gcc@5" ,gcc-5)))
|
||||||
(home-page "http://alsamodular.sourceforge.net/")
|
(home-page "http://alsamodular.sourceforge.net/")
|
||||||
(synopsis "Realtime modular synthesizer and effect processor")
|
(synopsis "Realtime modular synthesizer and effect processor")
|
||||||
(description
|
(description
|
||||||
|
|
Reference in New Issue