aboutsummaryrefslogtreecommitdiff
path: root/custom_mutators
diff options
context:
space:
mode:
authorAndrea Fioraldi <andreafioraldi@gmail.com>2020-08-31 20:34:28 +0200
committerAndrea Fioraldi <andreafioraldi@gmail.com>2020-08-31 20:34:28 +0200
commit8ca4414d70df515b504beefddcc3ad3615a4216a (patch)
treeca8a552d322f4b2d79a9feff01f870e891813207 /custom_mutators
parent6090bb1bca81229a4c6ae178e1cef0e35bd31a96 (diff)
parenta552631d3b04da880f18a25860169ac4ccd8f85b (diff)
downloadafl++-8ca4414d70df515b504beefddcc3ad3615a4216a.tar.gz
merge conflicts
Diffstat (limited to 'custom_mutators')
-rw-r--r--custom_mutators/radamsa/GNUmakefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/custom_mutators/radamsa/GNUmakefile b/custom_mutators/radamsa/GNUmakefile
index 60e43b17..3798b110 100644
--- a/custom_mutators/radamsa/GNUmakefile
+++ b/custom_mutators/radamsa/GNUmakefile
@@ -15,14 +15,14 @@ libradamsa.a: libradamsa.c radamsa.h
@echo " ***************************************************************"
@echo " * Compiling libradamsa, wait some minutes (~3 on modern CPUs) *"
@echo " ***************************************************************"
- $(CC) -fPIC $(CFLAGS) -I $(CUR_DIR) -o libradamsa.a -c libradamsa.c
+ $(CC) -fPIC $(CFLAGS) $(CPPFLAGS) -I $(CUR_DIR) -o libradamsa.a -c libradamsa.c
radamsa-mutator.so: radamsa-mutator.c libradamsa.a
- $(CC) $(CFLAGS) -g -I. -I../../include -shared -fPIC -c radamsa-mutator.c
- $(CC) $(CFLAGS) -shared -fPIC -o radamsa-mutator.so radamsa-mutator.o libradamsa.a
+ $(CC) $(CFLAGS) $(CPPFLAGS) -g -I. -I../../include -shared -fPIC -c radamsa-mutator.c
+ $(CC) $(CFLAGS) $(CPPFLAGS) -shared -fPIC -o radamsa-mutator.so radamsa-mutator.o libradamsa.a
test: libradamsa.a libradamsa-test.c
- $(CC) $(CFLAGS) -I $(CUR_DIR) -o libradamsa-test libradamsa-test.c libradamsa.a
+ $(CC) $(CFLAGS) $(CPPFLAGS) -I $(CUR_DIR) -o libradamsa-test libradamsa-test.c libradamsa.a
./libradamsa-test libradamsa-test.c | grep "library test passed"
rm /tmp/libradamsa-*.fuzz