Author: dpatel Date: Mon Jan 28 15:01:04 2008 New Revision: 46461 URL: http://llvm.org/viewvc/llvm-project?rev=46461&view=rev Log: Fix build failure. Backport patch from trunk.
Modified: llvm/tags/Apple/llvmCore-2012/Makefile.rules Modified: llvm/tags/Apple/llvmCore-2012/Makefile.rules URL: http://llvm.org/viewvc/llvm-project/llvm/tags/Apple/llvmCore-2012/Makefile.rules?rev=46461&r1=46460&r2=46461&view=diff ============================================================================== --- llvm/tags/Apple/llvmCore-2012/Makefile.rules (original) +++ llvm/tags/Apple/llvmCore-2012/Makefile.rules Mon Jan 28 15:01:04 2008 @@ -454,8 +454,8 @@ LD.Flags += -L$(LibDir) -L$(LLVMLibDir) CPP.BaseFlags += -D_GNU_SOURCE -D__STDC_LIMIT_MACROS # All -I flags should go here, so that they don't confuse llvm-config. -CPP.Flags += $(patsubst %,-I%/include,$(sort \ - $(PROJ_OBJ_DIR) $(PROJ_SRC_DIR) \ +CPP.Flags += $(sort -I$(PROJ_OBJ_DIR) -I$(PROJ_SRC_DIR) \ + $(patsubst %,-I%/include,\ $(PROJ_OBJ_ROOT) $(PROJ_SRC_ROOT) \ $(LLVM_OBJ_ROOT) $(LLVM_SRC_ROOT))) \ $(CPP.BaseFlags) _______________________________________________ llvm-commits mailing list llvm-commits@cs.uiuc.edu http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits