diff options
author | Alexey Neyman <stilor@att.net> | 2017-01-16 09:01:10 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-16 09:01:10 -0800 |
commit | cc30c2c880dd5c771b8c5935baf13d505a5ca3d1 (patch) | |
tree | a92fde117682b0af6200bda5eabb64d920ea5726 /scripts/build/libc/glibc.sh | |
parent | 16a7f7bde73954570babb44c45b66afd83b7414d (diff) | |
parent | fb58775a46bae7e587e888fc481e7483773e99ee (diff) | |
download | crosstool-ng-cc30c2c880dd5c771b8c5935baf13d505a5ca3d1.tar.gz crosstool-ng-cc30c2c880dd5c771b8c5935baf13d505a5ca3d1.tar.bz2 crosstool-ng-cc30c2c880dd5c771b8c5935baf13d505a5ca3d1.zip |
Merge pull request #533 from stilor/gdb-7.12
Gdb 7.12
Diffstat (limited to 'scripts/build/libc/glibc.sh')
-rw-r--r-- | scripts/build/libc/glibc.sh | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/scripts/build/libc/glibc.sh b/scripts/build/libc/glibc.sh index 3e2c88ed..bce4cb89 100644 --- a/scripts/build/libc/glibc.sh +++ b/scripts/build/libc/glibc.sh @@ -252,7 +252,7 @@ do_libc_backend_once() { # but they are not passed by configure. Thus, pass everything in CC instead. CT_DoExecLog CFG \ BUILD_CC=${CT_BUILD}-gcc \ - CC="${CT_TARGET}-gcc ${glibc_cflags}" \ + CC="${CT_TARGET}-${CT_CC} ${glibc_cflags}" \ AR=${CT_TARGET}-ar \ RANLIB=${CT_TARGET}-ranlib \ "${CONFIG_SHELL}" \ @@ -362,11 +362,11 @@ do_libc_backend_once() { # However, since we will never actually execute its code, # it doesn't matter what it contains. So, treating '/dev/null' # as a C source file, we produce a dummy 'libc.so' in one step - CT_DoExecLog ALL "${CT_TARGET}-gcc" ${multi_flags} \ - -nostdlib \ - -nostartfiles \ - -shared \ - -x c /dev/null \ + CT_DoExecLog ALL "${CT_TARGET}-${CT_CC}" ${multi_flags} \ + -nostdlib \ + -nostartfiles \ + -shared \ + -x c /dev/null \ -o "${startfiles_dir}/libc.so" fi # threads == nptl fi # libc_mode = startfiles |