mirror of
https://github.com/melonDS-emu/melonDS.git
synced 2025-07-30 01:29:52 -06:00
fix crash when using -O3.
gcc will try to optimize the memfill with MMX opcodes, but those seem to crash if the memory isn't aligned to a 8-byte boundary.
This commit is contained in:
@ -21,7 +21,7 @@ else()
|
||||
endif()
|
||||
|
||||
if(ENABLE_LTO)
|
||||
add_compile_options(-O2 -flto)
|
||||
add_compile_options(-O3 -flto)
|
||||
endif()
|
||||
|
||||
add_compile_options(-fno-pic)
|
||||
|
Reference in New Issue
Block a user