aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches
diff options
context:
space:
mode:
authorRutger Helling <rhelling@mykolab.com>2017-11-22 09:32:25 +0100
committerLudovic Courtès <ludo@gnu.org>2017-11-23 22:59:49 +0100
commit5864f1c1ee435fefa707cc644b88d99a2e89ff98 (patch)
tree5e6a3311079a9416b3528d88a2e5654e6d69d76e /gnu/packages/patches
parent327620dc7213362cf329a80992a873445bcb1624 (diff)
downloadguix-5864f1c1ee435fefa707cc644b88d99a2e89ff98.tar
guix-5864f1c1ee435fefa707cc644b88d99a2e89ff98.tar.gz
gnu: higan: Update to 106.
* gnu/packages/games.scm (higan): Update to 106. * gnu/packages/patches/higan-remove-march-native-flag.patch: Adjust. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
Diffstat (limited to 'gnu/packages/patches')
-rw-r--r--gnu/packages/patches/higan-remove-march-native-flag.patch15
1 files changed, 7 insertions, 8 deletions
diff --git a/gnu/packages/patches/higan-remove-march-native-flag.patch b/gnu/packages/patches/higan-remove-march-native-flag.patch
index 8f4a36dc35..30d4cdd061 100644
--- a/gnu/packages/patches/higan-remove-march-native-flag.patch
+++ b/gnu/packages/patches/higan-remove-march-native-flag.patch
@@ -2,12 +2,11 @@ Remove -march=native from build flags.
--- a/higan/GNUmakefile
+++ b/higan/GNUmakefile
-@@ -32,7 +32,7 @@ ifeq ($(platform),windows)
- else ifeq ($(platform),macosx)
- flags += -march=native
- else ifneq ($(filter $(platform),linux bsd),)
-- flags += -march=native -fopenmp
-+ flags += -fopenmp
+@@ -26,7 +26,6 @@
+ flags += -fopenmp
link += -fopenmp
- link += -Wl,-export-dynamic
- link += -lX11 -lXext
+ ifeq ($(binary),application)
+- flags += -march=native
+ link += -Wl,-export-dynamic
+ link += -lX11 -lXext
+ else ifeq ($(binary),library)