diff options
author | Ryan Arnold <ryan.arnold@linaro.org> | 2015-07-14 15:03:50 +0000 |
---|---|---|
committer | Linaro Code Review <review@review.linaro.org> | 2015-07-14 15:03:50 +0000 |
commit | dc70faaecdf66aa15a2c0c0f08385b48dd44afb3 (patch) | |
tree | 2b0f1cc43b9d89e5e158b6f454652e2cd9a58323 /scripts | |
parent | 075aef5e30eaf2458fc9bedc67df7e5cb690dfc1 (diff) | |
parent | 1d7a9adac2a4c2215cc7145d5a9c58cb6289dcb2 (diff) |
Merge "Force usage of glibc for GCC 5.1 binary tarballs."
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/MakeRelease.job | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/scripts/MakeRelease.job b/scripts/MakeRelease.job index ff13cd33..6eef99ef 100755 --- a/scripts/MakeRelease.job +++ b/scripts/MakeRelease.job @@ -78,13 +78,15 @@ if test x"${date}" != x; then release="${date}" fi -if test x"${clibrary}" != x; then - if test "`echo ${target} | grep -c linux`" -gt 0; then - libc="--set libc=${clibrary}" +if test "`echo ${target} | grep -c linux`" -gt 0; then + if test "`echo ${gcc_src} | grep -c 5\.1`" -gt 0; then + libc="--set libc=glibc" else - # ELF and EABI based targets are bare metal only - libc="--set libc=newlib" + libc="--set libc=eglibc" fi +else + # ELF and EABI based targets are bare metal only + libc="--set libc=newlib" fi # Build a toolchain, run the tests, and the create a source release as a tarball |