提交 c5f3add3 编写于 作者: R Rich Felker

yet another try to get the check for gcc right...

上级 55e2f5e9
......@@ -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\)*' "$("$CC" --version 2>/dev/null)" ; then
if fnmatch '*gcc\ version*' "$("$CC" -v 2>&1)" ; then
echo yes
printf "checking whether to build musl-gcc wrapper... "
wrapper=yes
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册