summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2011-02-04 03:07:27 -0500
committerJohn Wiegley <johnw@newartisans.com>2011-02-04 03:07:47 -0500
commitc9730d781c33e5cbece892f78008e379cfabe2e2 (patch)
tree1b5128f1ac5b0647fa9e9e55afa5195c97efc101 /acprep
parent67aadeb80894d7683f5e2e1b2bf29520eb42da41 (diff)
downloadfork-ledger-c9730d781c33e5cbece892f78008e379cfabe2e2.tar.gz
fork-ledger-c9730d781c33e5cbece892f78008e379cfabe2e2.tar.bz2
fork-ledger-c9730d781c33e5cbece892f78008e379cfabe2e2.zip
Fixed compiler warnings when building with Clang
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep3
1 files changed, 2 insertions, 1 deletions
diff --git a/acprep b/acprep
index 381ee032..e4fbf60b 100755
--- a/acprep
+++ b/acprep
@@ -1131,7 +1131,8 @@ class PrepareBuild(CommandLineApp):
self.configure_args.append('--enable-pch')
self.LDFLAGS.append('-fpch-deps')
- self.CXXFLAGS.append('-Wconversion')
+ if not self.options.use_clang:
+ self.CXXFLAGS.append('-Wconversion')
#self.CXXFLAGS.append('-Wold-style-cast')
system = self.get_stdout('uname', '-s')