[Lldb-commits] [lldb] r190944 - Respect SDKROOT in lldb Makefile

Daniel Malea daniel.malea at intel.com
Wed Sep 18 09:32:28 PDT 2013


Author: dmalea
Date: Wed Sep 18 11:32:28 2013
New Revision: 190944

URL: http://llvm.org/viewvc/llvm-project?rev=190944&view=rev
Log:
Respect SDKROOT in lldb Makefile
- If it is not defined (empty) everything remain as it was before.

Patch (1 of 2) by Adam Strzelecki!



Modified:
    lldb/trunk/Makefile

Modified: lldb/trunk/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/Makefile?rev=190944&r1=190943&r2=190944&view=diff
==============================================================================
--- lldb/trunk/Makefile (original)
+++ lldb/trunk/Makefile Wed Sep 18 11:32:28 2013
@@ -45,8 +45,10 @@ CPP.Flags +=   $(PYTHON_INC_DIR)
 endif
 
 ifeq ($(HOST_OS),Darwin)
-CPP.Flags += -F/System/Library/Frameworks -F/System/Library/PrivateFrameworks
-CPP.Flags += -I/usr/include/libxml2
+CPP.Flags += $(subst -I,-I$(SDKROOT),$(PYTHON_INC_DIR))
+CPP.Flags += -F$(SDKROOT)/System/Library/Frameworks
+CPP.Flags += -F$(SDKROOT)/System/Library/PrivateFrameworks
+CPP.Flags += -I$(SDKROOT)/usr/include/libxml2
 endif
 ifdef LLDB_VENDOR
 CPP.Flags += -DLLDB_VENDOR='"$(LLDB_VENDOR) "'





More information about the lldb-commits mailing list