aboutsummaryrefslogtreecommitdiff
path: root/baseconfig
diff options
context:
space:
mode:
authorAqua-sama <aqua@iserlohn-fortress.net>2018-10-15 11:29:24 +0200
committerAqua-sama <aqua@iserlohn-fortress.net>2018-10-15 11:29:24 +0200
commit306c433389fe483d55a057d021d1a7fc7d120ee4 (patch)
tree5afb14df40453a1a4a605f6db6f6ec3af2c93341 /baseconfig
parentRewrite vendor.cmake to cmake/VendorConfig.cmake (diff)
downloadsmolbote-306c433389fe483d55a057d021d1a7fc7d120ee4.tar.xz
Remove -march and -mtune from default release flags
Diffstat (limited to 'baseconfig')
-rw-r--r--baseconfig15
1 files changed, 8 insertions, 7 deletions
diff --git a/baseconfig b/baseconfig
index 5827dbc..7ca05c9 100644
--- a/baseconfig
+++ b/baseconfig
@@ -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"