summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorEric Engestrom <eric.engestrom@imgtec.com>2017-10-04 13:54:14 +0100
committerEric Engestrom <eric.engestrom@imgtec.com>2017-10-04 15:02:37 +0100
commitd246aa3a0dbbdf0766521392669251eabdd67e79 (patch)
tree4b0c134a1598a53177f679c6935824103ee382af /.travis.yml
parent80bfff5c4f1d4d8c842a0ae06440d7886e8c2f28 (diff)
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>
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml4
1 files changed, 2 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 2c87f60ec1..19fd6acf3b 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