macos-sierra-shared: Fix, after binutils-wrapper broke it
cctool's as needs to be told use to use gnu as, or else we'd need a dependency cycle between cctools and clang for this case. In general, this is not a problem because clang uses its own integrated assembler where possible, and gnu as otherwise.
This commit is contained in:
parent
9e27b88141
commit
eb326c9cb7
@ -81,8 +81,10 @@ else
|
||||
|
||||
symbolBloatObject=$outputNameLibless-symbol-hack.o
|
||||
if [[ ! -e $symbolBloatObject ]]; then
|
||||
# `-Q` means use GNU Assembler rather than Clang, avoiding an awkward
|
||||
# dependency cycle.
|
||||
printf '.private_extern _______child_hack_foo\nchild_hack_foo:\n' \
|
||||
| @binPrefix@as -- -o $symbolBloatObject
|
||||
| @binPrefix@as -Q -- -o $symbolBloatObject
|
||||
fi
|
||||
|
||||
# first half of libs
|
||||
|
Loading…
Reference in New Issue
Block a user