Remove generated .gch files
@@ -19,8 +19,11 @@ script:
- export VITASDK=$PWD/vitasdk
- export PATH=$VITASDK/bin:$PATH
- export INCLUDE_DIR=$TRAVIS_BUILD_DIR/include
+ # Make sure headers are valid
- arm-vita-eabi-gcc -I$INCLUDE_DIR -c $INCLUDE_DIR/vitasdk{,kern}.h
- arm-vita-eabi-g++ -I$INCLUDE_DIR -c $INCLUDE_DIR/vitasdk{,kern}.h
+ # Remove compiled headers
+ - find $INCLUDE_DIR -name "*.gch" -type f -delete
- bash $TRAVIS_BUILD_DIR/.travis.d/download_external_libs.sh
- cd $VITASDK/arm-vita-eabi/include
- rm -rf psp2 psp2kern vitasdk vitasdk.h
