diff --git a/.travis.yml b/.travis.yml index d94c8d9bc..b42906548 100644 --- a/.travis.yml +++ b/.travis.yml @@ -79,7 +79,15 @@ install: echo "using gcc : : ccache g++-5 : -std=c++11 ;" >> ~/user-config.jam; fi' - 'if [[ $toolset == "gcc-sanitizer" ]]; then - echo "using gcc : sanitizer : ccache g++-5 : -std=c++11 -fsanitize=address,undefined -fno-sanitize-recover=address,undefined -fsanitize=address,undefined -fno-sanitize-recover=address,undefined -fuse-ld=gold ;" >> ~/user-config.jam; + echo "using gcc : sanitizer : ccache g++-5 : + -std=c++11 + -fstack-protector-all + -fstack-check + -fsanitize=address,undefined + -fno-sanitize-recover=address,undefined + -fsanitize=address,undefined + -fno-sanitize-recover=address,undefined + -fuse-ld=gold ;" >> ~/user-config.jam; fi' - 'if [[ $toolset == "gcc-coverage" ]]; then echo "using gcc : coverage : ccache g++-5 --coverage : -std=c++11 --coverage ;" >> ~/user-config.jam;