Remove -mtune=native because it's redundant

main
Igor Canadi 10 years ago
parent e27c84522f
commit a3001b1d3d
  1. 2
      build_tools/build_detect_platform

@ -312,7 +312,7 @@ if test "$USE_SSE"; then
# if Intel SSE instruction set is supported, set USE_SSE=1 # if Intel SSE instruction set is supported, set USE_SSE=1
COMMON_FLAGS="$COMMON_FLAGS -msse -msse4.2 " COMMON_FLAGS="$COMMON_FLAGS -msse -msse4.2 "
elif test -z "$PORTABLE"; then elif test -z "$PORTABLE"; then
COMMON_FLAGS="$COMMON_FLAGS -march=native -mtune=native " COMMON_FLAGS="$COMMON_FLAGS -march=native "
fi fi
PLATFORM_CCFLAGS="$PLATFORM_CCFLAGS $COMMON_FLAGS" PLATFORM_CCFLAGS="$PLATFORM_CCFLAGS $COMMON_FLAGS"

Loading…
Cancel
Save