about summary refs log tree commit diff
path: root/llvm_mode
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2019-12-03 01:45:01 +0100
committervan Hauser <vh@thc.org>2019-12-03 01:45:01 +0100
commit2b0cfe1ab53f2a43db098a66e8b585420352677d (patch)
treeebf8196164b589be740d2eabdfaba8bd63781f23 /llvm_mode
parent6b6aa2364546adcd0924b5bc7c5bf3c8325976bd (diff)
downloadafl++-2b0cfe1ab53f2a43db098a66e8b585420352677d.tar.gz
final touches
Diffstat (limited to 'llvm_mode')
-rw-r--r--llvm_mode/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/llvm_mode/Makefile b/llvm_mode/Makefile
index 6c1ff176..8c769361 100644
--- a/llvm_mode/Makefile
+++ b/llvm_mode/Makefile
@@ -47,15 +47,19 @@ ifeq "$(LLVM_UNSUPPORTED)" "1"
   $(warn llvm_mode only supports versions 3.8.0 up to 9)
 endif
 
-# this is not visible yet:
 ifeq "$(LLVM_MAJOR)" "9"
   $(info llvm_mode detected llvm 9, enabling neverZero implementation)
 endif
 
 ifeq "$(LLVM_NEW_API)" "1"
+  $(info llvm_mode detected llvm 10+, enabling neverZero implementation and c++14)
   LLVM_STDCXX = c++14
 endif
 
+ifeq "$(LLVM_APPLE)" "1"
+  $(warn llvm_mode will not compile with Xcode clang...)
+endif
+
 CFLAGS      ?= -O3 -funroll-loops
 CFLAGS      += -Wall -D_FORTIFY_SOURCE=2 -g -Wno-pointer-sign -I ../include/ \
                -DAFL_PATH=\"$(HELPER_PATH)\" -DBIN_PATH=\"$(BIN_PATH)\" \