oss-fuzz check CXXFLAGS as well for -fsanitize= foo

Change-Id: Ifd4aa349a9debcee4b8446c2e6e84ccc36a84efd
This commit is contained in:
Caolán McNamara 2016-12-04 21:22:26 +00:00
parent 17f4f35619
commit 453da06c97

View File

@ -6526,7 +6526,7 @@ _ACEOF
dnl moot, though):
my_linkflagsnoundefs=$LINKFLAGSNOUNDEFS
if test "$COM_IS_CLANG" = TRUE; then
for i in $CXX; do
for i in $CXX $CXXFLAGS; do
case $i in
-fsanitize=*)
my_linkflagsnoundefs=