mirror of https://github.com/google/oss-fuzz.git
Remove -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION from CFLAGS in c-ares (#414)
This commit is contained in:
parent
7ebb132bbd
commit
f79945347c
|
@ -15,6 +15,12 @@
|
|||
#
|
||||
################################################################################
|
||||
|
||||
# Remove -DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION from CFLAGS
|
||||
# as a workaround for https://github.com/google/oss-fuzz/issues/413.
|
||||
# It's unclear why the c-ares configure is that picky;
|
||||
# a better fix would probably be in the c-ares build system.
|
||||
CFLAGS=$(for f in $CFLAGS; do [ $f != "-DFUZZING_BUILD_MODE_UNSAFE_FOR_PRODUCTION" ] && echo $f; done);
|
||||
|
||||
# Build the project.
|
||||
./buildconf
|
||||
./configure --enable-debug
|
||||
|
|
Loading…
Reference in New Issue