ソースを参照

Travis: Disable -Wstrict-aliasing warning on GCC 5 test build

Should speed up builds by avoiding warning spam.
This warning is no longer raised by newer GCC versions.
Rémi Verschelde 5 年 前
コミット
9ef0e06781
1 ファイル変更1 行追加1 行削除
  1. 1 1
      .travis.yml

+ 1 - 1
.travis.yml

@@ -94,7 +94,7 @@ matrix:
 
     - name: Linux export template (release_debug, GCC 5, without 3D support)
       stage: build
-      env: PLATFORM=x11 TOOLS=no TARGET=release_debug CACHE_NAME=${PLATFORM}-gcc-5 EXTRA_ARGS="disable_3d=yes"
+      env: PLATFORM=x11 TOOLS=no TARGET=release_debug CACHE_NAME=${PLATFORM}-gcc-5 EXTRA_ARGS="CXXFLAGS=-fno-strict-aliasing disable_3d=yes"
       os: linux
       compiler: gcc
       addons: