WSL/SLF GitLab Repository

Commit b664c659 authored by Mathias Bavay's avatar Mathias Bavay
Browse files

Small improvement: setting march to "nocona" for intel/amd processors when...

Small improvement: setting march to "nocona" for intel/amd processors when compiled as "safe" target.
parent 3a47af61
......@@ -42,7 +42,9 @@ ELSE()
SET(DEEP_WARNINGS "-Wunused-value -Wshadow -Wpointer-arith -Wconversion -Winline -Wdisabled-optimization -Wctor-dtor-privacy") #-Wfloat-equal -Wpadded
SET(EXTRA_WARNINGS "-Wextra -pedantic -Weffc++ ${DEEP_WARNINGS}")
SET(OPTIM "-g -O3 -DNDEBUG -DNOSAFECHECKS")
SET(ARCH_SAFE "")
IF("${CMAKE_SYSTEM_PROCESSOR}" MATCHES "x86_64" OR "${CMAKE_SYSTEM_PROCESSOR}" MATCHES "AMD64")
SET(ARCH_SAFE "-march=nocona -mtune=nocona")
ENDIF()
SET(DEBUG "-g3 -O0 -D__DEBUG")
SET(_VERSION "-D_VERSION=\\\"${_versionString}\\\"")
#IF(BUILD_SHARED_LIBS)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment