From: Baruch Siach Date: Wed, 30 Sep 2015 11:38:48 +0000 (+0300) Subject: ltp-testsuite: don't include host headers X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=51093254eb13fd10430eb9491a1356ddfc12ffb4;p=buildroot.git ltp-testsuite: don't include host headers $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 Signed-off-by: Baruch Siach Signed-off-by: Peter Korsgaard --- diff --git a/package/ltp-testsuite/ltp-testsuite.mk b/package/ltp-testsuite/ltp-testsuite.mk index 32038a03a9..b23cc05441 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))