summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorshyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-07 05:26:11 +0000
committershyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-11-07 05:26:11 +0000
commit391811c1ce384093bed78a78c8db18cca41bb508 (patch)
tree0186f55d2d8f9340948bd31e32075bd7e6b33be8
parent74fe1cc3d9826aeafa281709397c75e63e617fb6 (diff)
.travis.yml: UNALIGNED_WORD_ACCESS=0 for UBSAN
Unaligned word access warnings generated by UBSAN are often treated well already, depending on this macro. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@65593 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r--.travis.yml2
1 files changed, 1 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index 96a1f15076..11007220ce 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -156,7 +156,7 @@ addons:
<<: *make-test-only
compiler: clang
env:
- - "CFLAGS='-ggdb3 -O1 -march=native -fsanitize=undefined,integer,nullability -fno-omit-frame-pointer'"
+ - "CFLAGS='-ggdb3 -O1 -march=native -fsanitize=undefined,integer,nullability -fno-omit-frame-pointer -DUNALIGNED_WORD_ACCESS=0'"
- "LD=clang"
- "LDFLAGS=-fsanitize=undefined,integer,nullability"