diff options
author | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-12-16 13:46:42 +0100 |
---|---|---|
committer | Michael Olbrich <m.olbrich@pengutronix.de> | 2012-12-16 13:46:42 +0100 |
commit | f47b542968bd33a66400bff45647a8eff1484f8c (patch) | |
tree | 11ee14abac93bc044c45147abc7531eaa669358c /platforms | |
parent | 471b488349f28449288425e711d04e58beadff22 (diff) | |
download | ptxdist-f47b542968bd33a66400bff45647a8eff1484f8c.tar.gz ptxdist-f47b542968bd33a66400bff45647a8eff1484f8c.tar.xz |
wrapper: add options for --as-needed
Signed-off-by: Michael Olbrich <m.olbrich@pengutronix.de>
Diffstat (limited to 'platforms')
-rw-r--r-- | platforms/toolchain_options.in | 7 |
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)" |