mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
wip
This commit is contained in:
parent
41bf90c554
commit
2518cb2893
1 changed files with 6 additions and 2 deletions
|
@ -100,8 +100,6 @@ build:
|
|||
CFLAGS: $CFLAGS -fPIC
|
||||
CXXFLAGS: $CXXFLAGS -fPIC
|
||||
darwin:
|
||||
# just so we don't step on it
|
||||
LD: /usr/bin/ld
|
||||
ARGS:
|
||||
# Reliance on CLT hard path is yuck.
|
||||
- --with-sysroot=/Library/Developer/CommandLineTools/SDKs/MacOSX.sdk
|
||||
|
@ -112,6 +110,12 @@ build:
|
|||
darwin/x86-64:
|
||||
ARGS:
|
||||
- --build=x86_64-apple-darwin20.0.0
|
||||
# llvm-as generates __compact_unwind sections, even when told not to. this causes build errors
|
||||
# for ^10 on darwin+x86-64
|
||||
# https://stackoverflow.com/questions/52211390/trouble-building-gcc-on-mac-cant-find-system-headers
|
||||
BOOT_CFLAGS: -Wa,-mmacos-version-min=10.5
|
||||
CFLAGS_FOR_TARGET: -Wa,-mmacos-version-min=10.5
|
||||
and CXXFLAGS_FOR_TARGET: -Wa,-mmacos-version-min=10.5
|
||||
|
||||
test:
|
||||
- gcc --version | grep -q "tea GCC {{version}}"
|
||||
|
|
Loading…
Reference in a new issue