Lines 28-33
Link Here
|
28 |
fi |
28 |
fi |
29 |
|
29 |
|
30 |
if netbsd || dragonfly ; then |
30 |
if netbsd || dragonfly ; then |
|
|
31 |
@@ -1661,7 +1660,7 @@ else |
32 |
echores "$cc_version" |
33 |
break |
34 |
fi |
35 |
- cc_name_tmp=$($_cc -v 2>&1 | head -n 1 | cut -d ' ' -f 1) |
36 |
+ cc_name_tmp=$($_cc -v 2>&1 | awk "NR == 1 { if(\$1 == \"$system_name\") print \$2; else print \$1 }") |
37 |
if test "$cc_name_tmp" = "clang"; then |
38 |
echocheck "$_cc version" |
39 |
cc_vendor=clang |
31 |
@@ -3577,22 +3576,10 @@ |
40 |
@@ -3577,22 +3576,10 @@ |
32 |
if linux ; then |
41 |
if linux ; then |
33 |
THREAD_CFLAGS=-D_REENTRANT |
42 |
THREAD_CFLAGS=-D_REENTRANT |