travis: move include path from $CC to $CFLAGS

Signed-off-by: Eric Engestrom <eric.engestrom@imgtec.com>
Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
Eric Engestrom 2017-10-04 13:54:14 +01:00
parent 80bfff5c4f
commit d246aa3a0d
1 changed files with 2 additions and 2 deletions

View File

@ -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