Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Adding -march=native to optimization flags.

  • Loading branch information...
commit cba986fec04ad3a943419cbc2ffa9c712f2fbc53 1 parent 0720a79
@bingmann authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 configure
View
4 configure
@@ -2696,8 +2696,8 @@ fi
if test "${enable_optimize+set}" = set; then :
enableval=$enable_optimize; case "${enableval}" in
yes)
- CFLAGS="$CFLAGS -O3 -fomit-frame-pointer";
- CXXFLAGS="$CXXFLAGS -O3 -fomit-frame-pointer";
+ CFLAGS="$CFLAGS -O3 -march=native -fomit-frame-pointer";
+ CXXFLAGS="$CXXFLAGS -O3 -march=native -fomit-frame-pointer";
;;
no) ;;
*) as_fn_error $? "bad value ${enableval} for --enable-optimize" "$LINENO" 5 ;;
Please sign in to comment.
Something went wrong with that request. Please try again.