[Mesa-dev] [PATCH mesa] travis: move include path from $CC to $CFLAGS

Eric Engestrom eric.engestrom at imgtec.com
Wed Oct 4 13:10:40 UTC 2017


Signed-off-by: Eric Engestrom <eric.engestrom at imgtec.com>
---
 .travis.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.travis.yml b/.travis.yml
index 2c87f60ec12c7a287a2c..19fd6acf3b9e4d6d9a8e 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
-- 
Cheers,
  Eric



More information about the mesa-dev mailing list