From: Waldemar Brodkorb Date: Wed, 22 Feb 2017 18:27:43 +0000 (+0100) Subject: uclibc-ng-test: pass LDFLAGS while building X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=0aac65bd6371ab5fb1b30ebec05a59dbe1a87d5a;p=buildroot.git 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 Signed-off-by: Thomas Petazzoni --- diff --git a/package/uclibc-ng-test/uclibc-ng-test.mk b/package/uclibc-ng-test/uclibc-ng-test.mk index 9a0240c431..610ca010fb 100644 --- a/package/uclibc-ng-test/uclibc-ng-test.mk +++ b/package/uclibc-ng-test/uclibc-ng-test.mk @@ -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)" \