[Lldb-commits] [lldb] r144429 - /lldb/trunk/Makefile

Daniel Dunbar daniel at zuster.org
Fri Nov 11 15:36:19 PST 2011


Author: ddunbar
Date: Fri Nov 11 17:36:19 2011
New Revision: 144429

URL: http://llvm.org/viewvc/llvm-project?rev=144429&view=rev
Log:
build/Make: Tweak Clang include paths to use LLVM_{SRC,OBJ}_ROOT instead of
level based, so that lldb itself can be a symlink inside the tools dir.

Modified:
    lldb/trunk/Makefile

Modified: lldb/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/Makefile?rev=144429&r1=144428&r2=144429&view=diff
==============================================================================
--- lldb/trunk/Makefile (original)
+++ lldb/trunk/Makefile Fri Nov 11 17:36:19 2011
@@ -33,8 +33,8 @@
 # Set common LLDB build flags.
 CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/include 
 CPP.Flags += -I$(PROJ_OBJ_DIR)/$(LLDB_LEVEL)/include
-CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/../clang/include
-CPP.Flags += -I$(PROJ_OBJ_DIR)/$(LLDB_LEVEL)/../clang/include
+CPP.Flags += -I$(LLVM_SRC_ROOT)/tools/clang/include
+CPP.Flags += -I$(LLVM_OBJ_ROOT)/tools/clang/include
 CPP.Flags +=   $(PYTHON_INC_DIR)
 CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source
 CPP.Flags += -I$(PROJ_SRC_DIR)/$(LLDB_LEVEL)/source/Utility





More information about the lldb-commits mailing list