From 41c42c86e3bc3d784d7d941cac5fd1ffc27f2ca1 Mon Sep 17 00:00:00 2001 From: David Adam Date: Fri, 8 Nov 2019 21:41:06 +0800 Subject: [PATCH] travis: remove superfluous CXXFLAGS Discussion in #6296. --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index da410da8b..774bfeead 100644 --- a/.travis.yml +++ b/.travis.yml @@ -15,7 +15,7 @@ matrix: - libpcre2-dev - python env: - - CXXFLAGS="-g -O2 -Werror=address" + - CXXFLAGS="-Werror=address" - os: linux compiler: gcc addons: @@ -27,11 +27,11 @@ matrix: - g++-multilib - python env: - - CXXFLAGS="-g -O2 -m32 -Werror=address" CFLAGS="-g -m32" + - CXXFLAGS="-m32 -Werror=address" CFLAGS="-m32" - os: linux compiler: clang env: - - CXXFLAGS="-g -O2 -fno-omit-frame-pointer -fsanitize=undefined -fsanitize=address" + - CXXFLAGS="-fno-omit-frame-pointer -fsanitize=undefined -fsanitize=address" - ASAN_OPTIONS=check_initialization_order=1:detect_stack_use_after_return=1:detect_leaks=1 - UBSAN_OPTIONS=print_stacktrace=1:report_error_type=1:suppressions=$TRAVIS_BUILD_DIR/build_tools/ubsan.blacklist addons: @@ -45,7 +45,7 @@ matrix: - os: linux compiler: clang env: - - CXXFLAGS="-g -O2 -fsanitize=thread" + - CXXFLAGS="-fsanitize=thread" addons: apt: packages: