aboutsummaryrefslogtreecommitdiff
path: root/GNUmakefile.llvm
diff options
context:
space:
mode:
authorJosh Bundt (tr0gd0r) <wideglide@users.noreply.github.com>2021-01-27 22:39:33 -0500
committerGitHub <noreply@github.com>2021-01-27 22:39:33 -0500
commit9bc8c7518f9d3ac784365b095de9df761af7dda9 (patch)
treeac7c532559e01a436c7bfdfc32e23424f8241193 /GNUmakefile.llvm
parent2044c7e2b548e2747fde5deff65c78dd05e2ec8d (diff)
downloadAFLplusplus-9bc8c7518f9d3ac784365b095de9df761af7dda9.tar.gz
enable warnings for LTO mode 's/warn /warning /'
Diffstat (limited to 'GNUmakefile.llvm')
-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