diff options
author | Rob Savoye <rob.savoye@linaro.org> | 2015-07-14 08:52:58 -0600 |
---|---|---|
committer | Rob Savoye <rob.savoye@linaro.org> | 2015-07-14 08:52:58 -0600 |
commit | 65ef08bd9425df4bcf2bcdc690c88ec0967b631e (patch) | |
tree | 5d627ce092e9b27bbb8c4b86560121ecd39a561a /MakeRelease.job | |
parent | 559365ce02ae5774a50e260a47f3b2089f2fa66a (diff) |
Force usage of glibc for GCC 5.1 binary tarballs.
Change-Id: I13ca76e85145e21b718d7ae6d2e8883b489af630
Diffstat (limited to 'MakeRelease.job')
-rwxr-xr-x | MakeRelease.job | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/MakeRelease.job b/MakeRelease.job index ff13cd33..6eef99ef 100755 --- a/MakeRelease.job +++ b/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 |