mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-12-13 20:32:21 +00:00
build/Make: Add support for INCLUDE_BUILD_DIR make variable, to specify that
component needs to include files from its ObjDir. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@143648 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
71fccadbed
commit
8d69414022
@ -631,6 +631,10 @@ CPP.Flags += $(sort -I$(PROJ_OBJ_DIR) -I$(PROJ_SRC_DIR) \
|
|||||||
$(LLVM_OBJ_ROOT) $(LLVM_SRC_ROOT))) \
|
$(LLVM_OBJ_ROOT) $(LLVM_SRC_ROOT))) \
|
||||||
$(CPP.BaseFlags)
|
$(CPP.BaseFlags)
|
||||||
|
|
||||||
|
ifeq ($(INCLUDE_BUILD_DIR),1)
|
||||||
|
CPP.Flags += -I$(ObjDir)
|
||||||
|
endif
|
||||||
|
|
||||||
# SHOW_DIAGNOSTICS support.
|
# SHOW_DIAGNOSTICS support.
|
||||||
ifeq ($(SHOW_DIAGNOSTICS),1)
|
ifeq ($(SHOW_DIAGNOSTICS),1)
|
||||||
Compile.Wrapper := env CC_LOG_DIAGNOSTICS=1 \
|
Compile.Wrapper := env CC_LOG_DIAGNOSTICS=1 \
|
||||||
|
Loading…
Reference in New Issue
Block a user