aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config/Config-devel.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/config/Config-devel.in b/config/Config-devel.in
index d096c18a72..5970ac238d 100644
--- a/config/Config-devel.in
+++ b/config/Config-devel.in
@@ -106,6 +106,7 @@ menuconfig DEVEL
config EXTRA_OPTIMIZATION
string "Additional compiler options" if DEVEL
+ default "-fno-caller-saves -fno-plt" if !CONFIG_EXTERNAL_TOOLCHAIN
default "-fno-caller-saves"
help
Extra target-independent optimizations to use when building for the target.