diff options
author | Rich Felker <dalias@aerifal.cx> | 2012-05-13 19:59:28 -0400 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2012-05-13 19:59:28 -0400 |
commit | bc63e4fa2c9302c422e3bebd2653e4e36ee6372b (patch) | |
tree | ca6aafe2ccec3dfec84a1e90a3298074fe446278 | |
parent | 13b2945a3c3de7c309ca2e44ab4cf76236ff1fdb (diff) | |
download | musl-bc63e4fa2c9302c422e3bebd2653e4e36ee6372b.tar.gz musl-bc63e4fa2c9302c422e3bebd2653e4e36ee6372b.tar.bz2 musl-bc63e4fa2c9302c422e3bebd2653e4e36ee6372b.tar.xz musl-bc63e4fa2c9302c422e3bebd2653e4e36ee6372b.zip |
correct the check for gcc (previous version failed for cross compilers)
-rwxr-xr-x | configure | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -148,7 +148,7 @@ test -n "$CC" || { echo "$0: cannot find a C compiler" ; exit 1 ; } # if test -z "$wrapper" ; then printf "checking whether compiler is gcc... " -if fnmatch 'gcc*|GCC*' "$("$CC" --version 2>/dev/null)" ; then +if fnmatch '*(GCC)*' "$("$CC" --version 2>/dev/null)" ; then echo yes printf "checking whether to build musl-gcc wrapper... " wrapper=yes |