aboutsummaryrefslogtreecommitdiff
path: root/games/higan/higan-flags.patch
diff options
context:
space:
mode:
authorJohannes Schoepfer <slackbuilds@schoepfer.info>2016-09-23 21:04:14 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-09-23 21:04:14 +0700
commit79fc90f23f8f551aba67af7358cb0cb9739b634f (patch)
tree0b0b9f0c515bdec53364afdab8b0349989ad6d8e /games/higan/higan-flags.patch
parente2a06c20d1410d1fa80e6979f40f25beb69a3639 (diff)
games/higan: Updated for version 101.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'games/higan/higan-flags.patch')
-rw-r--r--games/higan/higan-flags.patch38
1 files changed, 38 insertions, 0 deletions
diff --git a/games/higan/higan-flags.patch b/games/higan/higan-flags.patch
new file mode 100644
index 0000000000000..71fd27498c607
--- /dev/null
+++ b/games/higan/higan-flags.patch
@@ -0,0 +1,38 @@
+diff -rupN higan_v097-source.orig/higan/GNUmakefile higan_v097-source/higan/GNUmakefile
+--- higan_v097-source.orig/higan/GNUmakefile 2016-01-24 09:21:45.822940200 +0100
++++ higan_v097-source/higan/GNUmakefile 2016-01-24 09:24:03.028722500 +0100
+@@ -36,7 +36,7 @@ ifeq ($(platform),windows)
+ else ifeq ($(platform),macosx)
+ flags += -march=native
+ else ifneq ($(filter $(platform),linux bsd),)
+- flags += -march=native -fopenmp
++ flags += -fopenmp
+ link += -fopenmp
+ link += -Wl,-export-dynamic
+ link += -lX11 -lXext
+diff -rupN higan_v097-source.orig/nall/GNUmakefile higan_v097-source/nall/GNUmakefile
+--- higan_v097-source.orig/nall/GNUmakefile 2016-01-24 09:21:46.021749600 +0100
++++ higan_v097-source/nall/GNUmakefile 2016-01-24 09:25:06.347100800 +0100
+@@ -40,8 +40,8 @@ cflags := -x c -std=c99
+ objcflags := -x objective-c -std=c99
+ cppflags := -x c++ -std=c++14
+ objcppflags := -x objective-c++ -std=c++14
+-flags :=
+-link :=
++flags := $(CXXFLAGS)
++link := $(LDFLAGS)
+
+ # compiler detection
+ ifeq ($(compiler),)
+@@ -51,9 +51,9 @@ ifeq ($(compiler),)
+ else ifeq ($(platform),macosx)
+ compiler := clang++
+ else ifeq ($(platform),linux)
+- compiler := g++-4.9
++ compiler := g++
+ else ifeq ($(platform),bsd)
+- compiler := g++49
++ compiler := g++
+ else
+ compiler := g++
+ endif