diff options
| author | van Hauser <vh@thc.org> | 2020-04-12 10:58:58 +0200 |
|---|---|---|
| committer | van Hauser <vh@thc.org> | 2020-04-12 10:58:58 +0200 |
| commit | 5e09e13ece5f074765df65bdec0482509bc23637 (patch) | |
| tree | bdb42d0d5d2d541ca6563a81284243c480d801a8 /llvm_mode/GNUmakefile | |
| parent | eec725a345b2e1cf396fd96970333677f701e42e (diff) | |
| download | afl++-5e09e13ece5f074765df65bdec0482509bc23637.tar.gz | |
m32/m64 support for LTO and code-format for test/
Diffstat (limited to 'llvm_mode/GNUmakefile')
| -rw-r--r-- | llvm_mode/GNUmakefile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm_mode/GNUmakefile b/llvm_mode/GNUmakefile index 2bbc92c8..57da03f8 100644 --- a/llvm_mode/GNUmakefile +++ b/llvm_mode/GNUmakefile @@ -273,7 +273,8 @@ endif ../afl-llvm-lto-instrumentation.so: afl-llvm-lto-instrumentation.so.cc ifeq "$(LLVM_LTO)" "1" $(CXX) $(CLANG_CFL) -Wno-writable-strings -fno-rtti -fPIC -std=$(LLVM_STDCXX) -shared $< -o $@ $(CLANG_LFL) - $(CC) $(CFLAGS) -O0 $(AFL_CLANG_FLTO) -fPIC -c afl-llvm-rt-lto.o.c -o ../afl-llvm-rt-lto.o + $(CC) $(CFLAGS) -Wno-unused-result -O0 $(AFL_CLANG_FLTO) -fPIC -c afl-llvm-rt-lto.o.c -o ../afl-llvm-rt-lto.o + @$(CC) $(CFLAGS) -Wno-unused-result -O0 $(AFL_CLANG_FLTO) -m64 -fPIC -c afl-llvm-rt-lto.o.c -o ../afl-llvm-rt-lto-64.o 2>/dev/null; if [ "$$?" = "0" ]; then : ; fi endif # laf |
