Removing unnecessary -O3 flag

master
Paul Sutton 9 years ago
parent 4e22f158e2
commit ee098fe54d

@ -91,7 +91,6 @@ IF(CMAKE_COMPILER_IS_GNUCC)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O0")
ELSE(${CMAKE_BUILD_TYPE} STREQUAL "Debug") ELSE(${CMAKE_BUILD_TYPE} STREQUAL "Debug")
FIND_PACKAGE(SSE) FIND_PACKAGE(SSE)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -O3")
IF(HAVE_AVX) IF(HAVE_AVX)
set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native -mfpmath=sse -mavx -DLV_HAVE_AVX -DLV_HAVE_SSE") set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -march=native -mfpmath=sse -mavx -DLV_HAVE_AVX -DLV_HAVE_SSE")
ELSEIF(HAVE_SSE) ELSEIF(HAVE_SSE)

Loading…
Cancel
Save