about summary refs log tree commit diff
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2021-01-28 08:26:30 +0100
committerGitHub <noreply@github.com>2021-01-28 08:26:30 +0100
commit1dfea4e91a042d9e617c0845104a3a0af3394624 (patch)
tree583f6ca03465ebf71745bd4fdcf704248a98e3b7
parent47f62eb0ca087bf26e79f2f0ce5935eda2599064 (diff)
parent9bc8c7518f9d3ac784365b095de9df761af7dda9 (diff)
downloadafl++-1dfea4e91a042d9e617c0845104a3a0af3394624.tar.gz
Merge pull request #711 from wideglide/patch-1
enable warnings for LTO mode 's/warn /warning /'
-rw-r--r--GNUmakefile.llvm6
1 files changed, 3 insertions, 3 deletions
diff --git a/GNUmakefile.llvm b/GNUmakefile.llvm
index 3554c8bf..a9092579 100644
--- a/GNUmakefile.llvm
+++ b/GNUmakefile.llvm
@@ -208,12 +208,12 @@ ifeq "$(LLVM_LTO)" "1"
       ifneq "$(shell readlink $(LLVM_BINDIR)/ld.lld 2>&1)" ""
         AFL_REAL_LD = $(LLVM_BINDIR)/ld.lld
       else
-        $(warn ld.lld not found, cannot enable LTO mode)
+        $(warning ld.lld not found, cannot enable LTO mode)
         LLVM_LTO = 0
       endif
     endif
   else
-    $(warn clang option -flto is not working - maybe LLVMgold.so not found - cannot enable LTO mode)
+    $(warning clang option -flto is not working - maybe LLVMgold.so not found - cannot enable LTO mode)
     LLVM_LTO = 0
   endif
 endif
@@ -226,7 +226,7 @@ ifeq "$(LLVM_LTO)" "1"
       AFL_CLANG_LDPATH=1
     endif
   else
-    $(warn -fuse-ld is not working, cannot enable LTO mode)
+    $(warning -fuse-ld is not working, cannot enable LTO mode)
     LLVM_LTO = 0
   endif
 endif