[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
02/02: gnu: tuxguitar: Set missing GCJFLAGS.
From: |
Ricardo Wurmus |
Subject: |
02/02: gnu: tuxguitar: Set missing GCJFLAGS. |
Date: |
Tue, 29 Dec 2015 06:52:48 +0000 |
rekado pushed a commit to branch master
in repository guix.
commit 6da2e99e2e3465f5853b65e564a286cb7c12964c
Author: Ricardo Wurmus <address@hidden>
Date: Tue Dec 29 07:48:59 2015 +0100
gnu: tuxguitar: Set missing GCJFLAGS.
* gnu/packages/music.scm (tuxguitar)[arguments]: Set compiler flags
"-fsource=1.4" and "-fPIC".
---
gnu/packages/music.scm | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/gnu/packages/music.scm b/gnu/packages/music.scm
index dcda09a..264fcd9 100644
--- a/gnu/packages/music.scm
+++ b/gnu/packages/music.scm
@@ -707,6 +707,8 @@ is subjective.")
(lambda* (#:key inputs #:allow-other-keys)
(chdir "TuxGuitar")
(substitute* "GNUmakefile"
+ (("GCJFLAGS\\+=(.*)" _ rest)
+ (string-append "GCJFLAGS=-fsource=1.4 -fPIC " rest))
(("PROPERTIES\\?=")
(string-append "PROPERTIES?= -Dswt.library.path="
(assoc-ref inputs "swt") "/lib"))