Enable UCLIBC_EXTRA_LDFLAGS in Config.in.

Submitted by Andrew McDonnell on Aug. 25, 2014, 12:59 p.m.

Details

Message ID 1408971597-9571-1-git-send-email-bugs@andrewmcdonnell.net
State New
Headers show

Commit Message

Andrew McDonnell Aug. 25, 2014, 12:59 p.m.
It seems that this is enabled and working in the Makefile infrastructure, but
unlike UCLIBC_EXTRA_CFLAGS, was not enabled by Config.in.

Signed-off-by: Andrew McDonnell <bugs@andrewmcdonnell.net>
---
 extra/Configs/Config.in | 6 ++++++
 1 file changed, 6 insertions(+)

Comments

aldot Aug. 26, 2014, 6:45 p.m.
On 25 August 2014 14:59, Andrew McDonnell <bugs@andrewmcdonnell.net> wrote:
> It seems that this is enabled and working in the Makefile infrastructure, but
> unlike UCLIBC_EXTRA_CFLAGS, was not enabled by Config.in.

We did not want to store them in the .config (yet). Do you think this
would be useful?
It is meant to be passed in to make..

Patch hide | download patch | download mbox

diff --git a/extra/Configs/Config.in b/extra/Configs/Config.in
index 7789002..fdf0168 100644
--- a/extra/Configs/Config.in
+++ b/extra/Configs/Config.in
@@ -2315,6 +2315,12 @@  config UCLIBC_EXTRA_CFLAGS
 	help
 	  Add any additional CFLAGS to be used to build uClibc.
 
+config UCLIBC_EXTRA_LDFLAGS
+	string "Extra LDFLAGS"
+	default ""
+	help
+	  Add any additional LDFLAGS to be used to build uClibc.
+
 config DODEBUG
 	bool "Enable debugging symbols"
 	select EXTRA_WARNINGS