diff options
author | Alexis Christoforides <alexis@thenull.net> | 2019-06-10 20:07:35 +0300 |
---|---|---|
committer | Alexis Christoforides <alexis@thenull.net> | 2019-06-10 20:07:35 +0300 |
commit | 5e15677a83bc74d7ccadf26ec7279d88721ad2dd (patch) | |
tree | 542d84ffdccef8856aac5ab941f3009091243bbf | |
parent | ea42169ff7faf669b57241b43f3cedcb42e2f7c1 (diff) |
Another speculative fix for 'pkg-config' sometimes getting built as a 32-bit package regardless of arch configuration
Mono issue: https://github.com/mono/mono/issues/13804
The hypothesis is that at reconfigure using the configure cache file, the lack of explicit setting of the host somehow breaks the build process.
-rw-r--r-- | bockbuild/darwinprofile.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/bockbuild/darwinprofile.py b/bockbuild/darwinprofile.py index 716b227..6f15680 100644 --- a/bockbuild/darwinprofile.py +++ b/bockbuild/darwinprofile.py @@ -139,12 +139,12 @@ class DarwinProfile (UnixProfile): package.local_ld_flags = ['-arch i386', '-m32'] package.local_gcc_flags = ['-arch i386', '-m32'] package.local_configure_flags = [ - '--build=i386-apple-darwin13.0.0', '--disable-dependency-tracking'] + '--build=i386-apple-darwin13.0.0', '--host=i386-apple-darwin13.0.0', '--disable-dependency-tracking'] elif arch == 'darwin-64': package.local_ld_flags = ['-arch x86_64 -m64'] package.local_gcc_flags = ['-arch x86_64 -m64'] package.local_configure_flags = [ - '--build=x86_64-apple-darwin13.0.0', '--disable-dependency-tracking'] + '--build=x86_64-apple-darwin13.0.0', '--host=x86_64-apple-darwin13.0.0', '--disable-dependency-tracking'] else: error('Unknown arch %s' % arch) |