Disable LTO
Causes issues on ARM platforms when mixing Thumb and ARM code.
This commit is contained in:
parent
9046ccc8a1
commit
30e5a4a058
@ -3,9 +3,6 @@ cmake_minimum_required(VERSION 3.5)
|
|||||||
project(gba_display_bitmap CXX C ASM)
|
project(gba_display_bitmap CXX C ASM)
|
||||||
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
set(CMAKE_EXPORT_COMPILE_COMMANDS ON)
|
||||||
|
|
||||||
# Enable link time optimization for this project and all libraries
|
|
||||||
add_compile_options("-flto")
|
|
||||||
|
|
||||||
add_executable(${PROJECT_NAME})
|
add_executable(${PROJECT_NAME})
|
||||||
|
|
||||||
# Normal source and header files
|
# Normal source and header files
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user