Skip to content

Commit

Permalink
macos-sierra-shared: Fix, after binutils-wrapper broke it
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
Ericson2314 committed Sep 6, 2017
1 parent 9e27b88 commit eb326c9
Showing 1 changed file with 3 additions and 1 deletion.
Expand Up @@ -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
Expand Down

0 comments on commit eb326c9

Please sign in to comment.