summaryrefslogtreecommitdiff
path: root/package
diff options
context:
space:
mode:
authorBaruch Siach <baruch@tkos.co.il>2015-09-30 14:38:48 +0300
committerPeter Korsgaard <peter@korsgaard.com>2015-09-30 13:52:44 +0200
commit51093254eb13fd10430eb9491a1356ddfc12ffb4 (patch)
treec0e93eaeac908d8e5fa264562723c020412b4b4c /package
parent3cda54971e98c89bed246510969c8c5324ac1e50 (diff)
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 <anders.roxell@linaro.org> Signed-off-by: Baruch Siach <baruch@tkos.co.il> Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package')
-rw-r--r--package/ltp-testsuite/ltp-testsuite.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/package/ltp-testsuite/ltp-testsuite.mk b/package/ltp-testsuite/ltp-testsuite.mk
index 32038a03a..b23cc0544 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))