aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2003-09-15 01:07:32 +0000
committerChris Lattner <sabre@nondot.org>2003-09-15 01:07:32 +0000
commit00e730abc387e2c603247e3554e90f426139aa0d (patch)
treec389b43998e84f2116ba33e103cdda188d2aa685
parentabe83ae992248281c47d51039aeb7a3913f2782f (diff)
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
-rw-r--r--Makefile.rules4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.rules b/Makefile.rules
index 796d54bcdb..47635c9b57 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