Allow building LTO component with LLVM 15
MODIFY
GNUmakefile.llvm
GNUmakefile.llvm
@@ -86,12 +86,6 @@ ifeq "$(LLVM_TOO_OLD)" "1"
$(shell sleep 1)
endif
-ifeq "$(LLVM_MAJOR)" "15"
- $(info [!] llvm_mode detected llvm 15, which is currently broken for LTO plugins.)
- LLVM_LTO = 0
- LLVM_HAVE_LTO = 0
-endif
-
ifeq "$(LLVM_HAVE_LTO)" "1"
$(info [+] llvm_mode detected llvm 11+, enabling afl-lto LTO implementation)
LLVM_LTO = 1
@@ -99,7 +93,7 @@ ifeq "$(LLVM_HAVE_LTO)" "1"
endif
ifeq "$(LLVM_LTO)" "0"
- $(info [+] llvm_mode detected llvm < 11 or llvm 15, afl-lto LTO will not be build.)
+ $(info [+] llvm_mode detected llvm < 11, afl-lto LTO will not be build.)
endif
ifeq "$(LLVM_APPLE_XCODE)" "1"

Allow building LTO component with LLVM 15