uclibc-ng-test: pass LDFLAGS while building
When static linking is in use we need to pass -static while linking. Fixes: http://autobuild.buildroot.net/results/37ca35854a36fab1690f6ae789e338a1e55307f6 Signed-off-by: Waldemar Brodkorb <wbx@openadk.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
This commit is contained in:
parent
e453fb9e32
commit
0aac65bd63
@ -39,6 +39,7 @@ define UCLIBC_NG_TEST_BUILD_CMDS
|
||||
$(TARGET_MAKE_ENV) $(UCLIBC_NG_TEST_MAKE_ENV) $(MAKE) -C $(@D) \
|
||||
CC="$(TARGET_CC)" \
|
||||
UCLIBC_EXTRA_CFLAGS="$(TARGET_CFLAGS)" \
|
||||
UCLIBC_EXTRA_LDFLAGS="$(TARGET_LDFLAGS)" \
|
||||
test_compile
|
||||
$(TARGET_MAKE_ENV) $(UCLIBC_NG_TEST_MAKE_ENV) $(MAKE1) -C $(@D) \
|
||||
CC="$(TARGET_CC)" \
|
||||
|
Loading…
Reference in New Issue
Block a user