diff --git a/build_tools/build_detect_platform b/build_tools/build_detect_platform index 3b3f34037..c17cd3ead 100755 --- a/build_tools/build_detect_platform +++ b/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 COMMON_FLAGS="$COMMON_FLAGS -msse -msse4.2 " elif test -z "$PORTABLE"; then - COMMON_FLAGS="$COMMON_FLAGS -march=native -mtune=native " + COMMON_FLAGS="$COMMON_FLAGS -march=native " fi PLATFORM_CCFLAGS="$PLATFORM_CCFLAGS $COMMON_FLAGS"