Module: Mesa
Branch: master
Commit: d246aa3a0dbbdf0766521392669251eabdd67e79
URL:    
http://cgit.freedesktop.org/mesa/mesa/commit/?id=d246aa3a0dbbdf0766521392669251eabdd67e79

Author: Eric Engestrom <[email protected]>
Date:   Wed Oct  4 13:54:14 2017 +0100

travis: move include path from $CC to $CFLAGS

Signed-off-by: Eric Engestrom <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>

---

 .travis.yml | 4 ++--
 1 file 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

_______________________________________________
mesa-commit mailing list
[email protected]
https://lists.freedesktop.org/mailman/listinfo/mesa-commit

Reply via email to