mirror of https://github.com/mgba-emu/mgba.git
ARM7: Force disable LTO on two files to work around a GCC bug
This commit is contained in:
parent
88c1f20c4b
commit
1582a25ca9
1
CHANGES
1
CHANGES
|
@ -11,6 +11,7 @@ Misc:
|
||||||
- GBA: Attempting to save a screenshot-style savestate should be allowed without libpng
|
- GBA: Attempting to save a screenshot-style savestate should be allowed without libpng
|
||||||
- GBA: Better memory handling with PNG savestates
|
- GBA: Better memory handling with PNG savestates
|
||||||
- GBA Audio: Allow GBAAVStream to have no video callback
|
- 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)
|
0.3.0: (2015-08-16)
|
||||||
Features:
|
Features:
|
||||||
|
|
|
@ -180,6 +180,7 @@ endif()
|
||||||
if(APPLE OR CMAKE_C_COMPILER_ID STREQUAL "GNU" AND BUILD_LTO)
|
if(APPLE OR CMAKE_C_COMPILER_ID STREQUAL "GNU" AND BUILD_LTO)
|
||||||
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -flto")
|
set(CMAKE_C_FLAGS_RELEASE "${CMAKE_C_FLAGS_RELEASE} -flto")
|
||||||
set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_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()
|
endif()
|
||||||
|
|
||||||
if(BUILD_BBB OR BUILD_RASPI OR BUILD_PANDORA)
|
if(BUILD_BBB OR BUILD_RASPI OR BUILD_PANDORA)
|
||||||
|
|
Loading…
Reference in New Issue