From 2b0cfe1ab53f2a43db098a66e8b585420352677d Mon Sep 17 00:00:00 2001 From: van Hauser Date: Tue, 3 Dec 2019 01:45:01 +0100 Subject: final touches --- llvm_mode/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'llvm_mode') 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)\" \ -- cgit 1.4.1