Skip to content
Browse files

disable march=native

in configure, not configure.in

not running autoconf might come back to bite me
  • Loading branch information...
1 parent bc00d83 commit b1e38dbd9d51469f60e805bd5bec0c8c9f7f14ad @shawnl committed Jun 8, 2012
Showing with 29 additions and 0 deletions.
  1. +27 −0 debian/patches/0001-disable-march-native.patch
  2. +2 −0 debian/patches/series
View
27 debian/patches/0001-disable-march-native.patch
@@ -0,0 +1,27 @@
+From 08adb17f76c5b31053698f13c57caa27417185bb Mon Sep 17 00:00:00 2001
+From: Shawn Landden <shawnlandden@gmail.com>
+Date: Fri, 8 Jun 2012 00:28:44 -0700
+Subject: [PATCH] disable march=native
+
+---
+ configure | 4 ++--
+ 1 file changed, 2 insertions(+), 2 deletions(-)
+
+diff --git a/configure b/configure
+index a07063d..6e624fa 100755
+--- a/configure
++++ b/configure
+@@ -3991,8 +3991,8 @@ then
+ printf 'checking for CPU optimization availability... '
+ if printf 'main() {}' | $CC -xc -march=native -o config.tmp - >config.tmp 2>&1
+ then
+- MYCFLAGS="-march=native $MYCFLAGS"
+- MYCXXFLAGS="-march=native $MYCXXFLAGS"
++# MYCFLAGS="-march=native $MYCFLAGS"
++# MYCXXFLAGS="-march=native $MYCXXFLAGS"
+ printf 'yes\n'
+ else
+ printf 'no\n'
+--
+1.7.9.5
+
View
2 debian/patches/series
@@ -1 +1,3 @@
0001-Disable-failing-transaction-tests-for-the-directory-.patch
+0001-disable-march-native.patch
+

0 comments on commit b1e38db

Please sign in to comment.
Something went wrong with that request. Please try again.