File tree Expand file tree Collapse file tree 1 file changed +1
-4
lines changed
Expand file tree Collapse file tree 1 file changed +1
-4
lines changed Original file line number Diff line number Diff line change @@ -49,17 +49,14 @@ AC_ARG_ENABLE(pic,
4949
5050case $CCTYPE in
5151 gcc)
52- CCFLAGS="-O3 -fno-tree-vectorize -ffast-math -fomit-frame-pointer -std=c99 -pedantic -Wextra -Wall -Wno-unknown-pragmas -Wshadow -Wmissing-prototypes -Wfatal-errors"
52+ CCFLAGS="-O3 -fno-tree-vectorize -ffast-math -fomit-frame-pointer -std=c99 -pedantic -Wextra -Wall -Wno-unknown-pragmas -Wshadow -Wmissing-prototypes -Wfatal-errors -march=native "
5353 GCCVERSION="`$CC -dumpversion 2>&1`"
5454 echo "Using gcc version $GCCVERSION"
5555 AC_SUBST ( GCCVERSION )
5656 changequote ( ,)
5757 gcc43=`echo $GCCVERSION | grep -c '^4\.[ 3456789] '`
5858 gcc44=`echo $GCCVERSION | grep -c '^4\.4'`
5959 changequote ( [ ,] )
60- if test $gcc43 -gt 0; then
61- CCFLAGS="$CCFLAGS -march=native"
62- fi
6360 if test $gcc44 -gt 0; then
6461 CCFLAGS="$CCFLAGS -fno-tree-fre"
6562 fi
You can’t perform that action at this time.
0 commit comments