mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-07-05 12:04:36 -04:00
Enable lto optimization for application code only (#1405)
Enabling for tonight's nightly build. (Haven't heard of any issues yet.)
This commit is contained in:
parent
966d1c938b
commit
f4496d8f45
1 changed files with 1 additions and 1 deletions
|
@ -44,7 +44,7 @@ if(cpp20_supported)
|
||||||
else()
|
else()
|
||||||
set(USE_CPPOPT "-std=c++17")
|
set(USE_CPPOPT "-std=c++17")
|
||||||
endif()
|
endif()
|
||||||
set(USE_CPPOPT "${USE_CPPOPT} -fno-rtti -fno-exceptions -Weffc++ -Wuninitialized -Wno-volatile")
|
set(USE_CPPOPT "${USE_CPPOPT} -flto -fno-rtti -fno-exceptions -Weffc++ -Wuninitialized -Wno-volatile")
|
||||||
|
|
||||||
# Enable this if you want the linker to remove unused code and data
|
# Enable this if you want the linker to remove unused code and data
|
||||||
set(USE_LINK_GC yes)
|
set(USE_LINK_GC yes)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue