diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-23 20:44:22 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-03-23 20:44:22 +0100 |
commit | a0ad2f92a9133af67883899615eeb760f47f8bff (patch) | |
tree | a995b2811d88bc942105fe5b709bc349513401c7 /target/config | |
parent | 6212b234c5d64e152e5ba8f86f66dc72ea1794c3 (diff) |
make optimiztion compiler flags configurable, default -Os -pipe
Diffstat (limited to 'target/config')
-rw-r--r-- | target/config/Config.in.adk | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/target/config/Config.in.adk b/target/config/Config.in.adk index 27b72941e..0c598e50c 100644 --- a/target/config/Config.in.adk +++ b/target/config/Config.in.adk @@ -19,6 +19,13 @@ config ADK_DL_DIR Configure the download directory for all source packages. Use an absolute path. +config ADK_TARGET_CFLAGS_OPT + string "optimization flags for compiler" + default "-Os -pipe" + help + Compilation is only verfied with optimization for code size (Os). + Other stuff (O2) might break. Will not be used when ADK_DEBUG is on. + config ADK_DEBUG bool "Compile applications with debug support by default" default n |