gnu: ams-lv2: Remove CPU optimization flags on non-Intel hardware.
* gnu/packages/music.scm (ams-lv2)[arguments]: Add phase to remove Intel specific CPU optimization flags when compiling on non-Intel hardware.
This commit is contained in:
parent
bb4b17064d
commit
8a3ce2c7b0
|
@ -1711,7 +1711,17 @@ follows a traditional multi-track tape recorder control paradigm.")
|
||||||
(base32
|
(base32
|
||||||
"1392spswkhfd38fggf584wb3m8aqpg7csfrs9zxnzyvhgmp0fgqk"))))
|
"1392spswkhfd38fggf584wb3m8aqpg7csfrs9zxnzyvhgmp0fgqk"))))
|
||||||
(build-system waf-build-system)
|
(build-system waf-build-system)
|
||||||
(arguments `(#:tests? #f)) ; no tests
|
(arguments
|
||||||
|
`(#:phases
|
||||||
|
(modify-phases %standard-phases
|
||||||
|
(add-after 'unpack 'remove-sse-flags
|
||||||
|
(lambda* (#:key system #:allow-other-keys)
|
||||||
|
(when (not (or (string-prefix? "x86_64" system)
|
||||||
|
(string-prefix? "i686" system)))
|
||||||
|
(substitute* "wscript"
|
||||||
|
(("'-msse', '-mfpmath=sse', ") ""))
|
||||||
|
#t))))
|
||||||
|
#:tests? #f)) ; no tests
|
||||||
(inputs
|
(inputs
|
||||||
`(("lv2" ,lv2)
|
`(("lv2" ,lv2)
|
||||||
("lvtk" ,lvtk)
|
("lvtk" ,lvtk)
|
||||||
|
|
Loading…
Reference in New Issue