summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-02-17 15:14:31 -0600
committerJohn Wiegley <johnw@newartisans.com>2012-02-17 15:14:31 -0600
commit7dc1d8c169d8d73020afc91076c07cf6897866f2 (patch)
treecda755a280be95efd1b8306bcaefc9a33468bd30
parent7e6dbcd64ca1edb3a68b686e1d0a3ecdb71a8816 (diff)
downloadfork-ledger-7dc1d8c169d8d73020afc91076c07cf6897866f2.tar.gz
fork-ledger-7dc1d8c169d8d73020afc91076c07cf6897866f2.tar.bz2
fork-ledger-7dc1d8c169d8d73020afc91076c07cf6897866f2.zip
Add -Won-disabled-macro-expansion flag when building with Clang
-rwxr-xr-xacprep1
1 files changed, 1 insertions, 0 deletions
diff --git a/acprep b/acprep
index cbbe360e..ee44b38e 100755
--- a/acprep
+++ b/acprep
@@ -1210,6 +1210,7 @@ class PrepareBuild(CommandLineApp):
self.CXXFLAGS.append('-Wno-switch-enum')
self.CXXFLAGS.append('-Wno-missing-prototypes')
self.CXXFLAGS.append('-Wno-missing-noreturn')
+ self.CXXFLAGS.append('-Wno-disabled-macro-expansion')
self.CXXFLAGS.append('-fno-limit-debug-info')
#self.CXXFLAGS.append('-Wold-style-cast')