summaryrefslogtreecommitdiff
path: root/acprep
diff options
context:
space:
mode:
authorJohn Wiegley <johnw@newartisans.com>2012-04-23 00:22:12 -0500
committerJohn Wiegley <johnw@newartisans.com>2012-04-25 03:09:55 -0500
commit6af3f0448fe8b3bf3472504a3ee547a816ab381a (patch)
tree0a7bf786a3501cc85630b21513eb564bf6b09a83 /acprep
parentadbd99414b56a02cb3acf8c0251a434aa950eca1 (diff)
downloadfork-ledger-6af3f0448fe8b3bf3472504a3ee547a816ab381a.tar.gz
fork-ledger-6af3f0448fe8b3bf3472504a3ee547a816ab381a.tar.bz2
fork-ledger-6af3f0448fe8b3bf3472504a3ee547a816ab381a.zip
More support for building with Clang
Diffstat (limited to 'acprep')
-rwxr-xr-xacprep10
1 files changed, 8 insertions, 2 deletions
diff --git a/acprep b/acprep
index 1eccef64..fa61ba98 100755
--- a/acprep
+++ b/acprep
@@ -1016,8 +1016,14 @@ class PrepareBuild(CommandLineApp):
self.envvars['PYTHON_HOME'] = '/opt/local'
if self.options.use_clang:
- self.boost_inc_ident = "clang"
- self.boost_lib_ident = "clang-darwin28"
+ self.log.info('Setting up for using Clang')
+
+ self.boost_inc_ident = "clang31"
+ self.boost_lib_ident = "clang-darwin42"
+
+ #self.CXXFLAGS.append('-std=c++11')
+ #self.CXXFLAGS.append('-stdlib=libc++')
+ #self.LDFLAGS.append('-stdlib=libc++')
global search_prefixes
search_prefixes = [ '/opt/local', '/usr/local', '/sw', '/usr' ]