diff options
author | Mark H Weaver <mhw@netris.org> | 2015-07-15 15:10:32 -0400 |
---|---|---|
committer | Mark H Weaver <mhw@netris.org> | 2015-07-15 15:10:32 -0400 |
commit | 35995769b516d228793940c5333ad522de992a6c (patch) | |
tree | 366b81995e9afbf8f94ecf7d4237b325ec07a0a1 /gnu/packages/music.scm | |
parent | c6f909809aecb225b66dc27e4afd3ff46ec31a38 (diff) | |
parent | e03f6d5e956b348c142d0ffd9f89af845f05eb86 (diff) | |
download | gnu-guix-35995769b516d228793940c5333ad522de992a6c.tar gnu-guix-35995769b516d228793940c5333ad522de992a6c.tar.gz |
Merge branch 'master' into core-updates
Diffstat (limited to 'gnu/packages/music.scm')
-rw-r--r-- | gnu/packages/music.scm | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm index 9e7e0126c0..13ddd8b338 100644 --- a/gnu/packages/music.scm +++ b/gnu/packages/music.scm @@ -424,7 +424,14 @@ Editor. It is compatible with Power Tab Editor 1.7 and Guitar Pro.") (list (string-append "PREFIX=" (assoc-ref %outputs "out")) (string-append "FONTFILE=" (assoc-ref %build-inputs "font-bitstream-vera") - "/share/fonts/truetype/VeraBd.ttf")) + "/share/fonts/truetype/VeraBd.ttf") + ;; Disable unsupported optimization flags on non-x86 + ,@(let ((system (or (%current-target-system) + (%current-system)))) + (if (or (string-prefix? "x86_64" system) + (string-prefix? "i686" system)) + '() + '("OPTIMIZATIONS=-ffast-math -fomit-frame-pointer -O3")))) #:phases (modify-phases %standard-phases (add-before 'build 'set-CC-variable |