mirror of
https://github.com/eried/portapack-mayhem.git
synced 2025-08-18 11:18:07 -04:00
Optimize compilation flags (#1206)
* restoring -O3 on baseband, activating lto on cpp parts
This commit is contained in:
parent
3d59de55f8
commit
830fea63ed
2 changed files with 3 additions and 3 deletions
|
@ -44,7 +44,7 @@ if(cpp20_supported)
|
|||
else()
|
||||
set(USE_CPPOPT "-std=c++17")
|
||||
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
|
||||
set(USE_LINK_GC yes)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue