Skip to content

Commit

Permalink
Another speculative fix for 'pkg-config' sometimes getting built as a…
Browse files Browse the repository at this point in the history
… 32-bit package regardless of arch configuration

Mono issue: mono/mono#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.
  • Loading branch information
alexischr committed Jun 10, 2019
1 parent ea42169 commit 5e15677
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions bockbuild/darwinprofile.py
Expand Up @@ -139,12 +139,12 @@ def arch_build(self, arch, package):
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)

Expand Down

0 comments on commit 5e15677

Please sign in to comment.