Fix travis OoM crash with gcc and -O3
Until with move to containers.
This commit is contained in:
committed by
Nekotekina
parent
5bf6c25652
commit
7460d215fd
@@ -24,6 +24,9 @@ endif()
|
||||
|
||||
if(NOT MSVC)
|
||||
add_definitions(-DwxGUI)
|
||||
if($ENV{CI})
|
||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -O1") # fix for travis gcc OoM crash. Might be fixed with the move to containers.
|
||||
endif()
|
||||
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -fexceptions")
|
||||
add_compile_options(-msse -msse2 -mcx16 -mssse3)
|
||||
else()
|
||||
|
||||
Reference in New Issue
Block a user