aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml2
-rw-r--r--external/gard/test/Makefile.check4
2 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index 9b74f40..bb67281 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -28,7 +28,7 @@ env:
script:
- (cd opal-ci; ./build-qemu-powernv.sh)
- ./opal-ci/fetch-debian-jessie-installer.sh
- - make -j4 all check ; (make clean; cd external/gard && make)
+ - make -j4 all check ; (make clean; cd external/gard && CROSS= make)
- (cd external/pflash; ./build-all-arch.sh)
- make clean && SKIBOOT_GCOV=1 make && SKIBOOT_GCOV=1 make check
- make clean && rm -rf builddir && mkdir builddir && make SRC=`pwd` -f ../Makefile -C builddir
diff --git a/external/gard/test/Makefile.check b/external/gard/test/Makefile.check
index ec4993a..d457361 100644
--- a/external/gard/test/Makefile.check
+++ b/external/gard/test/Makefile.check
@@ -7,8 +7,8 @@ check: check-gard
#architectures might be lying around and clean once done to
#avoid the opposite
check-gard: gard-test-clean
- @make CROSS_COMPILE='' -C external/gard/ check
- @make CROSS_COMPILE='' -C external/gard/ clean
+ @make CC=$(HOSTCC) CROSS='' CROSS_COMPILE='' -C external/gard/ check
+ @make CC=$(HOSTCC) CROSS='' CROSS_COMPILE='' -C external/gard/ clean
.PHONY: check-gard