[Lldb-commits] [lldb] r203653 - Add Driver to the build for mingw.
Hafiz Abid Qadeer
hafiz_abid at mentor.com
Wed Mar 12 03:51:33 PDT 2014
Author: abidh
Date: Wed Mar 12 05:51:32 2014
New Revision: 203653
URL: http://llvm.org/viewvc/llvm-project?rev=203653&view=rev
Log:
Add Driver to the build for mingw.
Modified:
lldb/trunk/tools/Makefile
lldb/trunk/tools/driver/Makefile
Modified: lldb/trunk/tools/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/Makefile?rev=203653&r1=203652&r2=203653&view=diff
==============================================================================
--- lldb/trunk/tools/Makefile (original)
+++ lldb/trunk/tools/Makefile Wed Mar 12 05:51:32 2014
@@ -21,11 +21,13 @@ else
endif
ifneq ($(HOST_OS),MingW)
-DIRS += driver lldb-platform
+DIRS += lldb-platform
endif
ifeq ($(HOST_OS),Darwin)
DIRS += debugserver
endif
+DIRS += driver
+
include $(LLDB_LEVEL)/Makefile
Modified: lldb/trunk/tools/driver/Makefile
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/tools/driver/Makefile?rev=203653&r1=203652&r2=203653&view=diff
==============================================================================
--- lldb/trunk/tools/driver/Makefile (original)
+++ lldb/trunk/tools/driver/Makefile Wed Mar 12 05:51:32 2014
@@ -12,10 +12,15 @@ TOOLNAME = lldb
NO_PEDANTIC = 1
-LLVMLibsOptions += -ledit -llldb -llldbUtility
-
include $(LLDB_LEVEL)/Makefile
+ifneq ($(HOST_OS),MingW)
+LLVMLibsOptions += -ledit -llldb -llldbUtility
+else
+LLVMLibsOptions += -llldb -llldbUtility
+CPP.Flags += -DIMPORT_LIBLLDB
+endif
+
ifeq ($(HOST_OS),Darwin)
LLVMLibsOptions += -Wl,-rpath, at loader_path/../lib/
LLVMLibsOptions += -Wl,-sectcreate -Wl,__TEXT -Wl,__info_plist -Wl,"$(PROJ_SRC_DIR)/lldb-Info.plist"
More information about the lldb-commits
mailing list