mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
.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
This commit is contained in:
parent
74fe1cc3d9
commit
391811c1ce
1 changed files with 1 additions and 1 deletions
|
@ -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"
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue