tinyxml2: make OSS-Fuzz flags are used in build (#9578)

Currently OSS-Fuzz flags are not set when building the tinyxml2 library
due to
e05956094c/Makefile (L13).
Consequentially, coverage is low (only that which is in the fuzzer
source file). This fixes it by avoiding to overwrite the CXXFLAGS in the
build.
This commit is contained in:
DavidKorczynski 2023-02-04 16:48:20 +00:00 committed by GitHub
parent 6706dfe94b
commit 26d7840b77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 4 additions and 0 deletions

View File

@ -14,6 +14,10 @@
# limitations under the License.
#
################################################################################
# Make sure OSS-Fuzz's CXXFLAGS are propagated into the build
sed -i 's/CXXFLAGS =/#CXXFLAGS/g' Makefile
make -j$(nproc) clean
make -j$(nproc) all