diff options
author | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-15 11:29:24 +0200 |
---|---|---|
committer | Aqua-sama <aqua@iserlohn-fortress.net> | 2018-10-15 11:29:24 +0200 |
commit | 306c433389fe483d55a057d021d1a7fc7d120ee4 (patch) | |
tree | 5afb14df40453a1a4a605f6db6f6ec3af2c93341 /baseconfig | |
parent | Rewrite vendor.cmake to cmake/VendorConfig.cmake (diff) | |
download | smolbote-306c433389fe483d55a057d021d1a7fc7d120ee4.tar.xz |
Remove -march and -mtune from default release flags
Diffstat (limited to 'baseconfig')
-rw-r--r-- | baseconfig | 15 |
1 files changed, 8 insertions, 7 deletions
@@ -3,22 +3,23 @@ mainmenu "smolbote configuration" comment "Build" menu "Compiler settings" config CXX_FLAGS - string "Compiler flags" + string "Compiler Flags" help Compiler flags that should be applied to both Debug and Release builds. - default "-fPIE -pipe -fstack-protector-strong -fno-plt" + default "-pipe -fstack-protector-strong -fno-plt -fPIE" config CXX_FLAGS_DEBUG - string "Debug flags" + string "Debug Flags" help - Compiler flags that should be applied to Debug builds. + Compiler flags that should be applied to Debug builds. These flags, together with the Compiler Flags, are appended to CMAKE_CXX_FLAGS_DEBUG. default "" config CXX_FLAGS_RELEASE - string "Release flags" + string "Release Flags" help - Compiler flags that should be applied to Release builds. - default "-march=native -mtune=native -O3" + Compiler flags that should be applied to Release builds. These flags, together with the Compiler Flags, are appended to CMAKE_CXX_FLAGS_RELEASE. + - -march=native -mtune=native will build executables that are optimized for the build environment's native arch. + default "" endmenu menu "Install paths" |