mirror of https://github.com/google/oss-fuzz.git
njs: enable fuzz introspector (#10821)
This commit is contained in:
parent
27a40582e3
commit
f676e762bb
|
@ -18,7 +18,12 @@
|
||||||
# Build pcre dependency to be linked statically.
|
# Build pcre dependency to be linked statically.
|
||||||
pushd $SRC/pcre2
|
pushd $SRC/pcre2
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
CFLAGS="$CFLAGS -fno-use-cxa-atexit" CXXFLAGS="$CXXFLAGS -fno-use-cxa-atexit" ./configure
|
if [ "$SANITIZER" == "introspector" ]; then
|
||||||
|
# Disable sanitizers for introspector for pcre. We only care about njs and it's blocking the build.
|
||||||
|
CFLAGS="" CXXFLAGS="" LIB_FUZZING_ENGINE="" ./configure
|
||||||
|
else
|
||||||
|
CFLAGS="$CFLAGS -fno-use-cxa-atexit" CXXFLAGS="$CXXFLAGS -fno-use-cxa-atexit" ./configure
|
||||||
|
fi
|
||||||
make -j$(nproc) clean
|
make -j$(nproc) clean
|
||||||
make -j$(nproc) all
|
make -j$(nproc) all
|
||||||
make install
|
make install
|
||||||
|
|
Loading…
Reference in New Issue