Use docker system includes that now exist

This commit is contained in:
Michael Vines 2018-12-02 23:03:51 -08:00
parent 1ddf9960a6
commit 3f9dc08984
No known key found for this signature in database
GPG Key ID: 33F4FDEC4E0E88BD
1 changed files with 3 additions and 1 deletions

View File

@ -16,8 +16,10 @@ OS := $(shell uname)
ifeq ($(DOCKER),1)
LLVM_DIR = $(LOCAL_PATH)llvm-docker/
LLVM_SYSTEM_INC_DIRS := /usr/local/lib/clang/8.0.0/include
else
LLVM_DIR = $(LOCAL_PATH)llvm-native/
LLVM_SYSTEM_INC_DIRS := $(LLVM_DIR)/lib/clang/8.0.0/include
endif
ifdef LLVM_DIR
@ -29,7 +31,7 @@ endif
SYSTEM_INC_DIRS := \
$(LOCAL_PATH)inc \
$(LOCAL_PATH)llvm-native/lib/clang/8.0.0/include \
$(LLVM_SYSTEM_INC_DIRS) \
C_FLAGS := \
-Werror \