mirror of https://github.com/RPCS3/rpcs3.git
Fix travis OoM crash with gcc and -O3
Until with move to containers.
This commit is contained in:
parent
5bf6c25652
commit
7460d215fd
|
@ -24,6 +24,9 @@ endif()
|
||||||
|
|
||||||
if(NOT MSVC)
|
if(NOT MSVC)
|
||||||
add_definitions(-DwxGUI)
|
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")
|
set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -std=c++14 -fexceptions")
|
||||||
add_compile_options(-msse -msse2 -mcx16 -mssse3)
|
add_compile_options(-msse -msse2 -mcx16 -mssse3)
|
||||||
else()
|
else()
|
||||||
|
|
Loading…
Reference in New Issue