ltp-testsuite: don't include host headers
authorBaruch Siach <baruch@tkos.co.il>
Wed, 30 Sep 2015 11:38:48 +0000 (14:38 +0300)
committerPeter Korsgaard <peter@korsgaard.com>
Wed, 30 Sep 2015 11:52:44 +0000 (13:52 +0200)
$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>
package/ltp-testsuite/ltp-testsuite.mk

index 32038a03a9179e6fefb61b27f35326fcfe6961c6..b23cc05441dc2eaa073548f3ccd97f8a56828a65 100644 (file)
@@ -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))