mirror of https://github.com/google/oss-fuzz.git
[njs] Fix coverage build and exclude pcre sources from coverage report (#2481).
This commit is contained in:
parent
c9bb73a407
commit
755518f802
|
@ -18,7 +18,7 @@
|
|||
# Build pcre dependency to be linked statically.
|
||||
pushd $SRC/pcre
|
||||
./autogen.sh
|
||||
./configure
|
||||
CFLAGS="$CFLAGS -fno-use-cxa-atexit" CXXFLAGS="$CXXFLAGS -fno-use-cxa-atexit" ./configure
|
||||
make -j$(nproc) clean
|
||||
make -j$(nproc) all
|
||||
popd
|
||||
|
|
|
@ -6,3 +6,4 @@ sanitizers:
|
|||
- address
|
||||
- memory
|
||||
- undefined
|
||||
coverage_extra_args: -ignore-filename-regex=.*/pcre/.*
|
||||
|
|
Loading…
Reference in New Issue