[Buildroot] [git commit] ltp-testsuite: don't include host headers

Peter Korsgaard peter at korsgaard.com
Wed Sep 30 11:52:44 UTC 2015


commit: http://git.buildroot.net/buildroot/commit/?id=51093254eb13fd10430eb9491a1356ddfc12ffb4
branch: http://git.buildroot.net/buildroot/commit/?id=refs/heads/master

$SYSROOT defaults to empty, so we must set it to our sysroot.

Fixes:
http://autobuild.buildroot.net/results/812/812986b00786972d4e7fbb0362460a0de8a70472/
http://autobuild.buildroot.net/results/4a3/4a3c7ea4eb08248f2aec45d8efc111087bc1327f/
http://autobuild.buildroot.net/results/8b6/8b6f7adb5546387c25f3a4c9d8e6f72f4b62b9a4/

and more.

Cc: Anders Roxell <anders.roxell at linaro.org>
Signed-off-by: Baruch Siach <baruch at tkos.co.il>
Signed-off-by: Peter Korsgaard <peter at korsgaard.com>
---
 package/ltp-testsuite/ltp-testsuite.mk |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/package/ltp-testsuite/ltp-testsuite.mk b/package/ltp-testsuite/ltp-testsuite.mk
index 32038a0..b23cc05 100644
--- a/package/ltp-testsuite/ltp-testsuite.mk
+++ b/package/ltp-testsuite/ltp-testsuite.mk
@@ -35,6 +35,7 @@ endif
 LTP_TESTSUITE_CONF_ENV += \
 	CFLAGS="$(LTP_TESTSUITE_CFLAGS)" \
 	CPPFLAGS="$(LTP_TESTSUITE_CPPFLAGS)" \
-	LIBS="$(LTP_TESTSUITE_LIBS)"
+	LIBS="$(LTP_TESTSUITE_LIBS)" \
+	SYSROOT="$(STAGING_DIR)"
 
 $(eval $(autotools-package))


More information about the buildroot mailing list