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,
49
49
50
50
case $CCTYPE in
51
51
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 "
53
53
GCCVERSION="`$CC -dumpversion 2>&1`"
54
54
echo "Using gcc version $GCCVERSION"
55
55
AC_SUBST ( GCCVERSION )
56
56
changequote ( ,)
57
57
gcc43=`echo $GCCVERSION | grep -c '^4\.[ 3456789] '`
58
58
gcc44=`echo $GCCVERSION | grep -c '^4\.4'`
59
59
changequote ( [ ,] )
60
- if test $gcc43 -gt 0; then
61
- CCFLAGS="$CCFLAGS -march=native"
62
- fi
63
60
if test $gcc44 -gt 0; then
64
61
CCFLAGS="$CCFLAGS -fno-tree-fre"
65
62
fi
You can’t perform that action at this time.
0 commit comments