aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/cjdns/no-march-flag.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/cjdns/no-march-flag.patch')
-rw-r--r--unmaintained/cjdns/no-march-flag.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/unmaintained/cjdns/no-march-flag.patch b/unmaintained/cjdns/no-march-flag.patch
new file mode 100644
index 0000000000..aaec16c2ed
--- /dev/null
+++ b/unmaintained/cjdns/no-march-flag.patch
@@ -0,0 +1,13 @@
+diff --git a/node_build/make.js b/node_build/make.js
+index b3ae15d..b86e07f 100644
+--- a/node_build/make.js
++++ b/node_build/make.js
+@@ -29,7 +29,7 @@ var GCC = process.env['CC'];
+ var CFLAGS = process.env['CFLAGS'];
+ var LDFLAGS = process.env['LDFLAGS'];
+
+-var NO_MARCH_FLAG = ['arm', 'ppc', 'ppc64'];
++var NO_MARCH_FLAG = ['arm', 'arm64', 'mips', 'mips64', 'mips64el', 'mipsel', 'ppc', 'ppc64'];
+
+ if (GCC) {
+ // Already specified.