Skip to content

Commit a82ef46

Browse files
committed
Makefile.am: pass -DCURL_DISABLE_DEPRECATION to the compiler
To avoid getting deprecation warnings we don't care about all over the terminal output.
1 parent daa8b95 commit a82ef46

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Makefile.am

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,8 @@ FUZZPROGS = curl_fuzzer \
6262
FUZZLIBS = libstandaloneengine.a
6363

6464
COMMON_SOURCES = curl_fuzzer.cc curl_fuzzer_tlv.cc curl_fuzzer_callback.cc
65-
COMMON_FLAGS = $(AM_CXXFLAGS) $(CODE_COVERAGE_CXXFLAGS)
65+
COMMON_FLAGS = $(AM_CXXFLAGS) $(CODE_COVERAGE_CXXFLAGS) -DCURL_DISABLE_DEPRECATION
66+
6667
COMMON_LDADD = @INSTALLDIR@/lib/libcurl.la $(LIB_FUZZING_ENGINE) $(CODE_COVERAGE_LIBS)
6768

6869
libstandaloneengine_a_SOURCES = standalone_fuzz_target_runner.cc

0 commit comments

Comments
 (0)