File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -1481,7 +1481,7 @@ else
14811481 if { (eval echo configure:1482: \" $ac_link \" ) 1>&5 ; (eval $ac_link ) 2>&5 ; }; then
14821482 for file in conftest.* ; do
14831483 case $file in
1484- * .c | * .C | * . o | * .obj) ;;
1484+ * .c | * .o | * .obj) ;;
14851485 * ) ac_cv_exeext=` echo $file | sed -e s/conftest//` ;;
14861486 esac
14871487 done
16291629
16301630# Create compiler version string
16311631if test x" $GCC " = x" yes" ; then
1632- cc_string=" GCC ` ${CC} --version` "
1632+ cc_string=" GCC ` ${CC} --version | head -1 ` "
16331633else
16341634 cc_string=$CC
16351635fi
Original file line number Diff line number Diff line change @@ -297,7 +297,7 @@ AC_SUBST(GCC)
297297
298298# Create compiler version string
299299if test x"$GCC" = x"yes" ; then
300- cc_string="GCC `${CC} --version`"
300+ cc_string="GCC `${CC} --version | head -1 `"
301301else
302302 cc_string=$CC
303303fi
You can’t perform that action at this time.
0 commit comments