diff options
author | John Wiegley <johnw@newartisans.com> | 2012-04-28 05:23:36 -0500 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-04-28 05:23:36 -0500 |
commit | c8f58ea6860b1ce2d4f0d8d039fd3a58727743a5 (patch) | |
tree | 1bb073ee58788a2f292d7364ae9cf438659fb5b0 /acprep | |
parent | 1a45d745438b4571d23c19a0c3fe97f68bccd4f0 (diff) | |
download | fork-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-x | acprep | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -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') |