aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/patches/higan-remove-march-native-flag.patch
blob: 8f4a36dc35d955ed3053e12ab6aa281c78093e6d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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
   link += -fopenmp
   link += -Wl,-export-dynamic
   link += -lX11 -lXext