From 00e730abc387e2c603247e3554e90f426139aa0d Mon Sep 17 00:00:00 2001 From: Chris Lattner Date: Mon, 15 Sep 2003 01:07:32 +0000 Subject: [PATCH] Make sure to #include the OBJROOT config.h file, not the SRCROOT config.h file! git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8511 91177308-0d34-0410-b5e6-96231b3b80d8 --- Makefile.rules | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile.rules b/Makefile.rules index 796d54bcdb4..47635c9b574 100644 --- a/Makefile.rules +++ b/Makefile.rules @@ -264,11 +264,11 @@ LLVMAS := $(LLVMTOOLCURRENT)/llvm-as # (locallly generated header files). # BUILD_SRC_DIR : Files local to the particular source directory. # BUILD_SRC_ROOT/include : Files global to the project. +# LLVM_OBJ_ROOT/include : config.h files generated by autoconf # LEVEL/include : config.h files for the project # LLVM_SRC_ROOT/include : Files global to LLVM. -# LLVM_OBJ_ROOT/include : config.h files generated by autoconf # -CPPFLAGS += -I$(BUILD_OBJ_DIR) -I$(BUILD_SRC_DIR) -I$(BUILD_SRC_ROOT)/include -I$(LEVEL)/include -I$(LLVM_SRC_ROOT)/include -I$(LLVM_OBJ_ROOT)/include +CPPFLAGS += -I$(BUILD_OBJ_DIR) -I$(BUILD_SRC_DIR) -I$(LLVM_OBJ_ROOT)/include -I$(BUILD_SRC_ROOT)/include -I$(LEVEL)/include -I$(LLVM_SRC_ROOT)/include # By default, strip symbol information from executable ifndef KEEP_SYMBOLS -- 2.34.1