about summary refs log tree commit diff
path: root/gcc_plugin/Makefile
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-11-12 10:31:49 +0100
committerGitHub <noreply@github.com>2019-11-12 10:31:49 +0100
commitc59e07581dd0008f2fdd5071bbfa874c89226a60 (patch)
tree721f34a77b421ba042b4b1a22b40891f35afee3b /gcc_plugin/Makefile
parentc15053d1f8904f37aac965b654087ea31a3dacd0 (diff)
parent5939727b6606f5ec0186b7ac2a2766311edf41df (diff)
downloadafl++-c59e07581dd0008f2fdd5071bbfa874c89226a60.tar.gz
Merge pull request #107 from devnexen/gcc_plugin_pass_real_cmp_naming
gcc plugin little update proposal.
Diffstat (limited to 'gcc_plugin/Makefile')
-rw-r--r--gcc_plugin/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc_plugin/Makefile b/gcc_plugin/Makefile
index 287b6545..be54e553 100644
--- a/gcc_plugin/Makefile
+++ b/gcc_plugin/Makefile
@@ -80,7 +80,7 @@ test_deps:
 	@echo "[+] All set and ready to build."
 
 ../afl-gcc-fast: afl-gcc-fast.c | test_deps
-	$(CC) $(CFLAGS) $< -o $@ $(LDFLAGS)
+	$(CC) -DAFL_GCC_CC=\"$(CC)\" -DAFL_GCC_CXX=\"$(CXX)\" $(CFLAGS) $< -o $@ $(LDFLAGS)
 	ln -sf afl-gcc-fast ../afl-g++-fast
 
 ../afl-gcc-pass.so: afl-gcc-pass.so.cc | test_deps