fixed bug with -Ofast on IRIX

This commit is contained in:
cebix 2001-04-10 18:33:57 +00:00
parent 017fc451b7
commit eba40b9865

View File

@ -662,7 +662,7 @@ fi
dnl Or if we have -Ofast
if [[ "x$HAVE_OFAST" = "xyes" ]]; then
CFLAGS=`echo $CFLAGS | sed -e 's/ -g / -Ofast /;s/^-g /-Ofast /;s/-g$/ -Ofast/;s/^-g$/-Ofast/'`
CXXFLAGS=`echo $CXXFLAGS | sed -e 's/ -g / -Ofast /;s/^-g /-Ofast/;s/ -g$/ -Ofast/;s/^-g$/-Ofast/'`
CXXFLAGS=`echo $CXXFLAGS | sed -e 's/ -g / -Ofast /;s/^-g /-Ofast /;s/ -g$/ -Ofast/;s/^-g$/-Ofast/'`
CXXFLAGS="-LANG:std $CXXFLAGS"
LDFLAGS="$LDFLAGS -Ofast"
fi