about summary refs log tree commit diff
path: root/GNUmakefile.llvm
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-11-08 16:33:25 +0100
committervan Hauser <vh@thc.org>2020-11-08 16:33:25 +0100
commit585ba4c1dda6d8706db122e15718b867fd5489cd (patch)
tree58f0a4f6930ad8a6c1885e0ec62741112fd9b5c9 /GNUmakefile.llvm
parenta728e8f9a5518017cde12bdb6ba795a6bcb47b0a (diff)
downloadafl++-585ba4c1dda6d8706db122e15718b867fd5489cd.tar.gz
fix for llvm 10.0.0
Diffstat (limited to 'GNUmakefile.llvm')
-rw-r--r--GNUmakefile.llvm2
1 files changed, 1 insertions, 1 deletions
diff --git a/GNUmakefile.llvm b/GNUmakefile.llvm
index 2bb0263b..cc28695d 100644
--- a/GNUmakefile.llvm
+++ b/GNUmakefile.llvm
@@ -357,7 +357,7 @@ instrumentation/afl-common.o: ./src/afl-common.c
 	$(CC) $(CFLAGS) $(CPPFLAGS) -c $< -o $@ $(LDFLAGS)
 
 ./afl-cc: src/afl-cc.c instrumentation/afl-common.o
-	$(CC) $(CLANG_CFL) $(CFLAGS) $(CPPFLAGS) $< instrumentation/afl-common.o -o $@ -DLLVM_MAJOR=$(LLVM_MAJOR) $(LDFLAGS) -DCFLAGS_OPT=\"$(CFLAGS_OPT)\"
+	$(CC) $(CLANG_CFL) $(CFLAGS) $(CPPFLAGS) $< instrumentation/afl-common.o -o $@ -DLLVM_MINOR=$(LLVM_MINOR) -DLLVM_MAJOR=$(LLVM_MAJOR) $(LDFLAGS) -DCFLAGS_OPT=\"$(CFLAGS_OPT)\"
 	@ln -sf afl-cc ./afl-c++
 	@ln -sf afl-cc ./afl-gcc
 	@ln -sf afl-cc ./afl-g++