Make sure to #include the OBJROOT config.h file, not the SRCROOT config.h file!
authorChris Lattner <sabre@nondot.org>
Mon, 15 Sep 2003 01:07:32 +0000 (01:07 +0000)
committerChris Lattner <sabre@nondot.org>
Mon, 15 Sep 2003 01:07:32 +0000 (01:07 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@8511 91177308-0d34-0410-b5e6-96231b3b80d8

Makefile.rules

index 796d54bcdb4c592967517c04c0beb38c5bd3fabf..47635c9b574a3619d92c2c214f8410c556b0bf7e 100644 (file)
@@ -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