diff options
author | hexcoder- <heiko@hexco.de> | 2020-04-01 16:18:44 +0200 |
---|---|---|
committer | hexcoder- <heiko@hexco.de> | 2020-04-01 16:18:44 +0200 |
commit | 4aec6dabdefda50a5c16637cea2300b63723a1ba (patch) | |
tree | 03eb3a5b504ef7aca4780c322f9eec13134daf58 | |
parent | 0fac7bd373ea2b578ea7d821f06f15ba3dcb0bad (diff) | |
download | afl++-4aec6dabdefda50a5c16637cea2300b63723a1ba.tar.gz |
fixing unit tests (again) remove CFLAGS_FLTO, put LDFLAGS near the end
-rw-r--r-- | Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile b/Makefile index ab94beff..23fcaeca 100644 --- a/Makefile +++ b/Makefile @@ -323,10 +323,10 @@ unit_maybe_alloc: test/unittests/unit_maybe_alloc.o ./test/unittests/unit_maybe_alloc test/unittests/unit_list.o : $(COMM_HDR) include/list.h test/unittests/unit_list.c $(AFL_FUZZ_FILES) - $(CC) $(CFLAGS) $(CFLAGS_FLTO) -c test/unittests/unit_list.c -o test/unittests/unit_list.o + $(CC) $(CFLAGS) -c test/unittests/unit_list.c -o test/unittests/unit_list.o unit_list: test/unittests/unit_list.o - $(CC) $(CFLAGS) -Wl,--wrap=exit -Wl,--wrap=printf $(LDFLAGS) test/unittests/unit_list.o -o test/unittests/unit_list -ldl -lcmocka + $(CC) $(CFLAGS) -Wl,--wrap=exit -Wl,--wrap=printf test/unittests/unit_list.o -o test/unittests/unit_list $(LDFLAGS) -lcmocka ./test/unittests/unit_list test/unittests/preallocable.o : $(COMM_HDR) include/afl-prealloc.h test/unittests/preallocable.c $(AFL_FUZZ_FILES) |