diff options
author | Alexey Neyman <stilor@att.net> | 2017-01-13 21:24:16 -0800 |
---|---|---|
committer | Alexey Neyman <stilor@att.net> | 2017-01-13 21:47:07 -0800 |
commit | c1612e92956d8f289c3779ff1366af873afbb7c3 (patch) | |
tree | 4eede13bbbffbb06dc3a1259eba3f4b4b96d16c7 /scripts/build/libc/musl.sh | |
parent | d34a6bd8a0222fadfc86795f65ca9a7df232324d (diff) | |
download | crosstool-ng-c1612e92956d8f289c3779ff1366af873afbb7c3.tar.gz crosstool-ng-c1612e92956d8f289c3779ff1366af873afbb7c3.tar.bz2 crosstool-ng-c1612e92956d8f289c3779ff1366af873afbb7c3.zip |
Use ${CT_CC} instead of gcc ...
... when refering to target's compiler.
Signed-off-by: Alexey Neyman <stilor@att.net>
Diffstat (limited to 'scripts/build/libc/musl.sh')
-rw-r--r-- | scripts/build/libc/musl.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/build/libc/musl.sh b/scripts/build/libc/musl.sh index acd14c2c..3eb03573 100644 --- a/scripts/build/libc/musl.sh +++ b/scripts/build/libc/musl.sh @@ -126,7 +126,7 @@ do_libc_backend_once() { obj/crt/crt1.o obj/crt/crti.o obj/crt/crtn.o CT_DoLog EXTRA "Installing C library start files" CT_DoExecLog ALL cp -av obj/crt/crt*.o "${multi_root}${multilib_dir}" - CT_DoExecLog ALL ${CT_TARGET}-gcc -nostdlib \ + CT_DoExecLog ALL ${CT_TARGET}-${CT_CC} -nostdlib \ -nostartfiles -shared -x c /dev/null -o "${multi_root}${multilib_dir}/libc.so" fi if [ "${libc_mode}" = "final" ]; then |