summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorUrabe, Shyouhei <shyouhei@ruby-lang.org>2019-05-23 16:55:20 +0900
committerUrabe, Shyouhei <shyouhei@ruby-lang.org>2019-05-23 17:24:53 +0900
commit8fce83339b6a862001c4fbad6bcd72dc3efee136 (patch)
tree5c509289b4cfab84ff47d0ffa3976b8865369fb0 /.travis.yml
parent6be0ab73c3f2cc95d76ca21203adf6a73c8705e7 (diff)
disable _FORTIFY_SOURCE
Sanitizers and fortifications do not interface, and there is currently no plan for them to work together. See also https://github.com/google/sanitizers/issues/247
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml6
1 files changed, 3 insertions, 3 deletions
diff --git a/.travis.yml b/.travis.yml
index f5d6d41418..e7d010cbb5 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -198,7 +198,7 @@ env:
env:
- GEMS_FOR_TEST=
- ASAN_OPTIONS=detect_leaks=0
- - cflags='-march=native -fsanitize=address -fno-omit-frame-pointer -fPIC'
+ - cflags='-U_FORTIFY_SOURCE -march=native -fsanitize=address -fno-omit-frame-pointer -fPIC'
- debugflags=-ggdb3
- optflags=-O1
- LD=clang-8
@@ -213,7 +213,7 @@ env:
<<: *clang-8
env:
- GEMS_FOR_TEST=
- - cflags='-fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer -fPIC'
+ - cflags='-U_FORTIFY_SOURCE -fsanitize=memory -fsanitize-memory-track-origins=2 -fno-omit-frame-pointer -fPIC'
- optflags=-O1
- LD=clang-8
- LDFLAGS='-fsanitize=memory -fPIC'
@@ -227,7 +227,7 @@ env:
<<: *clang-8
env:
- GEMS_FOR_TEST=
- - cflags='-fsanitize=undefined,integer,nullability -fno-sanitize=implicit-integer-sign-change,unsigned-integer-overflow'
+ - cflags='-U_FORTIFY_SOURCE -fsanitize=undefined,integer,nullability -fno-sanitize=implicit-integer-sign-change,unsigned-integer-overflow'
- cppflags=-DUNALIGNED_WORD_ACCESS=0
- debugflags=-ggdb3
- optflags='-O1 -march=native'