comparison configure @ 33445:8f7f69fd01d7

Check if compiler is functioning properly before trying to test additional options.
author iive
date Tue, 31 May 2011 21:15:14 +0000
parents fac64fecdb03
children 9f48a8de6be8
comparison
equal deleted inserted replaced
33444:fac64fecdb03 33445:8f7f69fd01d7
1677 fi 1677 fi
1678 done 1678 done
1679 fi # icc 1679 fi # icc
1680 test "$cc_fail" = yes && die "unsupported compiler version" 1680 test "$cc_fail" = yes && die "unsupported compiler version"
1681 1681
1682 echocheck "working compiler"
1683 cflag_check "" || die "Compiler is not functioning correctly. Check your installation and custom CFLAGS $CFLAGS ."
1684 echo "yes"
1685
1682 if test -z "$_target" && x86 ; then 1686 if test -z "$_target" && x86 ; then
1683 cat > $TMPC << EOF 1687 cat > $TMPC << EOF
1684 int main(void) { 1688 int main(void) {
1685 int test[(int)sizeof(char *)-7]; 1689 int test[(int)sizeof(char *)-7];
1686 return 0; 1690 return 0;