Mercurial > mplayer.hg
comparison configure @ 21569:685b7a8e6992
Better default CFLAGS for non-gnu, non-intel compilers
author | reimar |
---|---|
date | Sun, 10 Dec 2006 22:12:48 +0000 |
parents | 7412d71880d5 |
children | a9cc0526db1e |
comparison
equal
deleted
inserted
replaced
21568:51a7cbc52102 | 21569:685b7a8e6992 |
---|---|
1558 fi | 1558 fi |
1559 _stripbinaries=no | 1559 _stripbinaries=no |
1560 elif test -z "$CFLAGS" ; then | 1560 elif test -z "$CFLAGS" ; then |
1561 if test "$cc_vendor" = "intel" ; then | 1561 if test "$cc_vendor" = "intel" ; then |
1562 CFLAGS="-O2 $_march $_mcpu $_pipe -fomit-frame-pointer" | 1562 CFLAGS="-O2 $_march $_mcpu $_pipe -fomit-frame-pointer" |
1563 elif test "$cc_vendor" != "gnu" ; then | |
1564 CFLAGS="-O2 $_march $_mcpu $_pipe" | |
1563 else | 1565 else |
1564 CFLAGS="-O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer" | 1566 CFLAGS="-O4 $_march $_mcpu $_pipe -ffast-math -fomit-frame-pointer" |
1565 fi | 1567 fi |
1566 else | 1568 else |
1567 _warn_CFLAGS=yes | 1569 _warn_CFLAGS=yes |