From d246aa3a0dbbdf0766521392669251eabdd67e79 Mon Sep 17 00:00:00 2001 From: Eric Engestrom Date: Wed, 4 Oct 2017 13:54:14 +0100 Subject: travis: move include path from $CC to $CFLAGS Signed-off-by: Eric Engestrom Reviewed-by: Emil Velikov --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to '.travis.yml') diff --git a/.travis.yml b/.travis.yml index 2c87f60ec12..19fd6acf3b9 100644 --- a/.travis.yml +++ b/.travis.yml @@ -507,7 +507,7 @@ script: test -n "$OVERRIDE_CXX" && export CXX="$OVERRIDE_CXX"; test -n "$OVERRIDE_PATH" && export PATH="$OVERRIDE_PATH:$PATH"; - export CC="$CC -isystem`pwd`"; + export CFLAGS="$CFLAGS -isystem`pwd`"; ./autogen.sh --enable-debug $LIBUNWIND_FLAGS @@ -528,7 +528,7 @@ script: fi - if test "x$BUILD" = xmeson; then - export CC="$CC -isystem`pwd`"; + export CFLAGS="$CFLAGS -isystem`pwd`"; meson _build $MESON_OPTIONS; ninja -C _build test; fi -- cgit v1.2.3