all repos — mgba @ c7d48ab0879fe3739fc5f3f1fd0b189656f7628c

mGBA Game Boy Advance Emulator

ARM7: Force disable LTO on two files to work around a GCC bug
Jeffrey Pfau jeffrey@endrift.com
Tue, 01 Sep 2015 00:30:02 -0700
commit

c7d48ab0879fe3739fc5f3f1fd0b189656f7628c

parent

62f2ede696765b4ed3239a0d7d7ca407d99bf194

2 files changed, 2 insertions(+), 0 deletions(-)

jump to
M CHANGESCHANGES

@@ -16,6 +16,7 @@ - SDL: Support fullscreen in SDL 1.2

- GBA: Attempting to save a screenshot-style savestate should be allowed without libpng - GBA: Better memory handling with PNG savestates - GBA Audio: Allow GBAAVStream to have no video callback + - ARM7: Force disable LTO on two files to work around a GCC bug 0.3.0: (2015-08-16) Features:
M CMakeLists.txtCMakeLists.txt

@@ -187,6 +187,7 @@

if(APPLE OR CMAKE_C_COMPILER_ID STREQUAL "GNU" AND BUILD_LTO) set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -flto") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -flto") + set_source_files_properties(${CMAKE_SOURCE_DIR}/src/arm/isa-arm.c ${CMAKE_SOURCE_DIR}/src/arm/isa-thumb.c PROPERTIES COMPILE_FLAGS -fno-lto) endif() if(BUILD_BBB OR BUILD_RASPI OR BUILD_PANDORA)