diff options
author | Alexis Christoforides <alexis@thenull.net> | 2019-04-03 00:14:28 +0300 |
---|---|---|
committer | Alexis Christoforides <alexis@thenull.net> | 2019-04-03 00:16:52 +0300 |
commit | 9f79e71f7db10fd5905eaafaf8c129a084ba90f1 (patch) | |
tree | 0b0a777dba6e45d345bb2afd80201eef7d723b26 | |
parent | ebd383635f1b721b007b6e4ad9a6954604184edd (diff) |
[darwin] Use configure's --build option for 64-bit builds too
We used to not do that, and the default triple would do just fine, but recently a change has caused the pkg-config package 64-bit build to also result in 32-bit binaries. Explicitly setting the triple remedies this problem
-rw-r--r-- | bockbuild/darwinprofile.py | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/bockbuild/darwinprofile.py b/bockbuild/darwinprofile.py index 4363991..716b227 100644 --- a/bockbuild/darwinprofile.py +++ b/bockbuild/darwinprofile.py @@ -143,7 +143,8 @@ class DarwinProfile (UnixProfile): elif arch == 'darwin-64': package.local_ld_flags = ['-arch x86_64 -m64'] package.local_gcc_flags = ['-arch x86_64 -m64'] - package.local_configure_flags = ['--disable-dependency-tracking'] + package.local_configure_flags = [ + '--build=x86_64-apple-darwin13.0.0', '--disable-dependency-tracking'] else: error('Unknown arch %s' % arch) |