summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2009-03-10 17:11:39 -0400
committerJohn Wiegley <johnw@newartisans.com>2009-03-10 17:11:39 -0400
commit7b829af6aeb324abfbdce89ae6c6687d1cd997fd (patch)
tree0b2ecf63c5ca4fdfcb45827344ec9640a94a5721 /acprep
parent110f0b8023a8d6acdbfebff5d3c5521e52f3ac3b (diff)
downloadledger-7b829af6aeb324abfbdce89ae6c6687d1cd997fd.tar.gz
ledger-7b829af6aeb324abfbdce89ae6c6687d1cd997fd.tar.bz2
ledger-7b829af6aeb324abfbdce89ae6c6687d1cd997fd.zip
Removed default optimization flag -march=native
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep3
1 files changed, 0 insertions, 3 deletions
diff --git a/acprep b/acprep
index a2295dc8..03bd3cd4 100755
--- a/acprep
+++ b/acprep
@@ -660,8 +660,6 @@ class PrepareBuild(CommandLineApp):
self.sys_include_dirs.insert(0, '/usr/local/stow/cppunit/include')
self.sys_library_dirs.insert(0, '/usr/local/stow/cppunit/lib')
- if '-march=native' in self.configure_args:
- self.CXXFLAGS.remove('-march=native')
self.CXXFLAGS.append('-march=nocona')
self.CXXFLAGS.append('-msse3')
@@ -911,7 +909,6 @@ class PrepareBuild(CommandLineApp):
def setup_flavor_opt(self):
self.CXXFLAGS.append('-O3')
self.CXXFLAGS.append('-fomit-frame-pointer')
- self.CXXFLAGS.append('-march=native')
def setup_flavor_gcov(self):
self.CXXFLAGS.append('-g')