about summary refs log tree commit diff
path: root/nixpkgs/pkgs/misc/emulators/higan/0001-change-flags.diff
blob: 5821a9c130b0a6d600a23d3cd408a8a0ec8ce8ae (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
diff -Naur higan_v105-source.old/higan/GNUmakefile higan_v105-source.new/higan/GNUmakefile
--- higan_v105-source.old/higan/GNUmakefile	2017-10-07 01:34:22.000000000 -0300
+++ higan_v105-source.new/higan/GNUmakefile	2017-10-17 00:02:40.580957396 -0200
@@ -26,7 +26,7 @@
   flags += -fopenmp
   link += -fopenmp
   ifeq ($(binary),application)
-    flags += -march=native
+    flags +=
     link += -Wl,-export-dynamic
     link += -lX11 -lXext
   else ifeq ($(binary),library)
diff -Naur higan_v105-source.old/nall/GNUmakefile higan_v105-source.new/nall/GNUmakefile
--- higan_v105-source.old/nall/GNUmakefile	2017-09-23 18:34:22.000000000 -0300
+++ higan_v105-source.new/nall/GNUmakefile	2017-10-17 00:03:33.568916550 -0200
@@ -40,8 +40,8 @@
 objcflags := -x objective-c -std=c11
 cppflags := -x c++ -std=c++14
 objcppflags := -x objective-c++ -std=c++14
-flags :=
-link :=
+flags := $(CXXFLAGS)
+link := $(LDFLAGS)
 
 # compiler detection
 ifeq ($(compiler),)