aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--CMakeLists.txt6
1 files changed, 1 insertions, 5 deletions
diff --git a/CMakeLists.txt b/CMakeLists.txt
index fc546c007..ed5fc142d 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -312,11 +312,7 @@ else()
if(ARCH STREQUAL "default")
set(ARCH_FLAG "")
else()
- if(ARCH STREQUAL "x86_64")
- set(ARCH_FLAG "-march=x86-64")
- else()
- set(ARCH_FLAG "-march=${ARCH}")
- endif()
+ set(ARCH_FLAG "-march=${ARCH}")
endif()
set(WARNINGS "-Wall -Wextra -Wpointer-arith -Wundef -Wvla -Wwrite-strings -Wno-error=extra -Wno-error=deprecated-declarations -Wno-unused-parameter -Wno-unused-variable -Wno-error=unused-variable -Wno-error=undef -Wno-error=uninitialized")
if(NOT MINGW)