better params for sanitize=address

This commit is contained in:
Thomas Bernard 2020-06-05 20:51:26 +02:00
parent 0ce0a0d392
commit 471c313f9d
No known key found for this signature in database
GPG Key ID: 0FF11B67A5C0863C
1 changed files with 2 additions and 2 deletions

View File

@ -45,8 +45,8 @@ compiler:
before_install:
- 'if [ "$TRAVIS_OS_NAME" = "osx" ] && [ "$CC" == "gcc" ] ; then CC=gcc-4.9; fi'
- export CFLAGS="-fsanitize=address"
- export LDFLAGS="-fsanitize=address"
- export CFLAGS="-fsanitize=address -O1 -g -fno-omit-frame-pointer"
- export LDFLAGS="-fsanitize=address -g"
script:
- 'cd $TRAVIS_BUILD_DIR && cd $PROJECT'