aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile.llvm
diff options
context:
space:
mode:
authorvanhauser-thc <vh@thc.org>2021-12-09 14:33:56 +0100
committervanhauser-thc <vh@thc.org>2021-12-09 14:33:56 +0100
commitdb360332c4cf92c3b90d8dfab9292763e677aebf (patch)
treeab1bb8e44a22e36d1b53646a57c10844bf4a6978 /GNUmakefile.llvm
parent4c6d94ea5f854071277ed9729de2d4ef7d07cc84 (diff)
downloadAFLplusplus-db360332c4cf92c3b90d8dfab9292763e677aebf.tar.gz
make llvm 14-dev working. again.
Diffstat (limited to 'GNUmakefile.llvm')
-rw-r--r--GNUmakefile.llvm4
1 files changed, 2 insertions, 2 deletions
diff --git a/GNUmakefile.llvm b/GNUmakefile.llvm
index 1e2c411d..f1de28a4 100644
--- a/GNUmakefile.llvm
+++ b/GNUmakefile.llvm
@@ -390,11 +390,11 @@ instrumentation/afl-llvm-common.o: instrumentation/afl-llvm-common.cc instrument
ifeq "$(LLVM_MIN_4_0_1)" "0"
$(info [!] N-gram branch coverage instrumentation is not available for llvm version $(LLVMVER))
endif
- $(CXX) $(CLANG_CPPFL) -DLLVMInsTrim_EXPORTS -fno-rtti -fPIC -std=$(LLVM_STDCXX) -shared $< -o $@ $(CLANG_LFL) instrumentation/afl-llvm-common.o
+ $(CXX) $(CLANG_CPPFL) -Wdeprecated -fno-rtti -fPIC -std=$(LLVM_STDCXX) -shared $< -o $@ $(CLANG_LFL) instrumentation/afl-llvm-common.o
./SanitizerCoveragePCGUARD.so: instrumentation/SanitizerCoveragePCGUARD.so.cc instrumentation/afl-llvm-common.o | test_deps
ifeq "$(LLVM_10_OK)" "1"
- -$(CXX) $(CLANG_CPPFL) -fno-rtti -fPIC -std=$(LLVM_STDCXX) -shared $< -o $@ $(CLANG_LFL) instrumentation/afl-llvm-common.o
+ -$(CXX) $(CLANG_CPPFL) -Wdeprecated -fno-rtti -fPIC -std=$(LLVM_STDCXX) -shared $< -o $@ $(CLANG_LFL) instrumentation/afl-llvm-common.o
endif
./afl-llvm-lto-instrumentlist.so: instrumentation/afl-llvm-lto-instrumentlist.so.cc instrumentation/afl-llvm-common.o