diff options
author | John Wiegley <johnw@newartisans.com> | 2012-03-07 14:29:52 -0600 |
---|---|---|
committer | John Wiegley <johnw@newartisans.com> | 2012-03-07 14:29:52 -0600 |
commit | 79a4919777b839238bbaf61f0fb6bdf58959e43b (patch) | |
tree | 2d98d20fecb2fffa92848a643a17ae41bcd502bf /acprep | |
parent | 7e250696e02e0392bc865f66570da296ced124ab (diff) | |
download | fork-ledger-79a4919777b839238bbaf61f0fb6bdf58959e43b.tar.gz fork-ledger-79a4919777b839238bbaf61f0fb6bdf58959e43b.tar.bz2 fork-ledger-79a4919777b839238bbaf61f0fb6bdf58959e43b.zip |
Fix for optimizing building with Clang
Diffstat (limited to 'acprep')
-rwxr-xr-x | acprep | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -1010,7 +1010,8 @@ class PrepareBuild(CommandLineApp): self.boost_inc_ident = "clang" self.boost_lib_ident = "clang-darwin28" - self.log.debug("Setting Python home to /opt/local") + global search_prefixes + search_prefixes = [ '/opt/local', '/usr/local', '/sw', '/usr' ] self.log.debug('Using Clang ident: %s/%s' % (self.boost_inc_ident, self.boost_lib_ident)) @@ -1319,7 +1320,7 @@ class PrepareBuild(CommandLineApp): else: if self.boost_info.configure(): pass - elif self.boost_info.configure( + elif not self.options.use_clang and self.boost_info.configure( home_path = '/usr/local/stow/boost_%s-%s' % \ (self.boost_version, self.boost_inc_ident), suffix = '-%s-%s' % \ |