summaryrefslogtreecommitdiffstats
path: root/platforms/toolchain_options.in
diff options
context:
space:
mode:
Diffstat (limited to 'platforms/toolchain_options.in')
-rw-r--r--platforms/toolchain_options.in7
1 files changed, 7 insertions, 0 deletions
diff --git a/platforms/toolchain_options.in b/platforms/toolchain_options.in
index 59a8ac81f..1c4cb07fb 100644
--- a/platforms/toolchain_options.in
+++ b/platforms/toolchain_options.in
@@ -31,6 +31,13 @@ choice
add "--hash-style=both" to the linker options
endchoice
+config TARGET_LINKER_AS_NEEDED
+ bool
+ prompt "Link only needed libraries (ld --as-needed)"
+ help
+ tell the linker to link in the produced binary only the libraries
+ containing symbols actually used by the binary itself.
+
config TARGET_EXTRA_CPPFLAGS
string
prompt "Extra CPPFLAGS (cpp)"