1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-11 20:15:03 -05:00

cirrus: enable clang sanitizers on freebsd 13

This commit is contained in:
Daniel Stenberg 2019-12-09 11:53:54 +01:00
parent ee263de7a3
commit 35c7aac3c6
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -21,6 +21,13 @@ task:
- pkg delete -y curl
configure_script:
- ./buildconf
- case `uname -r` in
13.0*)
export CC=clang;
export CFLAGS="-fsanitize=address,undefined,signed-integer-overflow -fno-sanitize-recover=undefined,integer -Wformat -Werror=format-security -Werror=array-bounds -g"
export CXXFLAGS="-fsanitize=address,undefined -fno-sanitize-recover=undefined,integer -Wformat -Werror=format-security -Werror=array-bounds -g"
export LDFLAGS="-fsanitize=address,undefined -fno-sanitize-recover=undefined,integer" ;;
esac
- ./configure --prefix="${HOME}"/install --enable-debug --with-libssh2 --with-brotli --with-gssapi --with-libidn2 --enable-manual --enable-ldap --enable-ldaps --with-librtmp --with-libmetalink --with-libpsl --with-nghttp2 || { tail -300 config.log; false; }
compile_script:
- make V=1