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
This commit is contained in:
Chris Lattner 2003-09-15 01:07:32 +00:00
parent abe83ae992
commit 00e730abc3

View File

@ -264,11 +264,11 @@ LLVMAS := $(LLVMTOOLCURRENT)/llvm-as
# (locallly generated header files). # (locallly generated header files).
# BUILD_SRC_DIR : Files local to the particular source directory. # BUILD_SRC_DIR : Files local to the particular source directory.
# BUILD_SRC_ROOT/include : Files global to the project. # 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 # LEVEL/include : config.h files for the project
# LLVM_SRC_ROOT/include : Files global to LLVM. # 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 # By default, strip symbol information from executable
ifndef KEEP_SYMBOLS ifndef KEEP_SYMBOLS