summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-04-28 05:23:36 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-04-28 05:23:36 -0500
commitc8f58ea6860b1ce2d4f0d8d039fd3a58727743a5 (patch)
tree1bb073ee58788a2f292d7364ae9cf438659fb5b0 /acprep
parent1a45d745438b4571d23c19a0c3fe97f68bccd4f0 (diff)
downloadfork-ledger-c8f58ea6860b1ce2d4f0d8d039fd3a58727743a5.tar.gz
fork-ledger-c8f58ea6860b1ce2d4f0d8d039fd3a58727743a5.tar.bz2
fork-ledger-c8f58ea6860b1ce2d4f0d8d039fd3a58727743a5.zip
Added support for building with Clang and libc++ in C++11
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep4
1 files changed, 1 insertions, 3 deletions
diff --git a/acprep b/acprep
index e303ea61..463f028d 100755
--- a/acprep
+++ b/acprep
@@ -1022,14 +1022,11 @@ class PrepareBuild(CommandLineApp):
self.boost_lib_ident = "clang-darwin"
if self.options.use_cpp11:
- self.CXXFLAGS.append('-std=c++11')
- self.CXXFLAGS.append('-stdlib=libc++')
self.CXXFLAGS.append('-nostdlibinc')
self.CXXFLAGS.append('-isystem /usr/local/include')
self.CXXFLAGS.append('-isystem /usr/local/include/c++/v1')
self.CXXFLAGS.append('-isystem /usr/include')
- self.LDFLAGS.append('-stdlib=libc++')
self.LDFLAGS.append('/usr/local/lib/libc++.dylib')
self.log.debug('Using Clang ident: %s/%s' %
@@ -1231,6 +1228,7 @@ class PrepareBuild(CommandLineApp):
self.CXXFLAGS.append('-Wno-missing-noreturn')
self.CXXFLAGS.append('-Wno-disabled-macro-expansion')
self.CXXFLAGS.append('-Wno-unused-parameter')
+ self.CXXFLAGS.append('-Wno-c++98-compat')
self.CXXFLAGS.append('-fno-limit-debug-info')
#self.CXXFLAGS.append('-Wold-style-cast')