mirror of https://github.com/google/oss-fuzz.git
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:
parent
6706dfe94b
commit
26d7840b77
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue