diff options
author | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2014-03-12 10:51:32 +0000 |
---|---|---|
committer | Hafiz Abid Qadeer <hafiz_abid@mentor.com> | 2014-03-12 10:51:32 +0000 |
commit | b4d550a2ca4207d6fa8e857155476738e1591b7d (patch) | |
tree | 7c6a3eafd1110ebdbb1141703b3181e6fb4548b4 | |
parent | 1c03005664ac4e3880667baa50aad40466d424d6 (diff) | |
download | bcm5719-llvm-b4d550a2ca4207d6fa8e857155476738e1591b7d.tar.gz bcm5719-llvm-b4d550a2ca4207d6fa8e857155476738e1591b7d.zip |
Add Driver to the build for mingw.
llvm-svn: 203653
-rw-r--r-- | lldb/tools/Makefile | 4 | ||||
-rw-r--r-- | lldb/tools/driver/Makefile | 9 |
2 files changed, 10 insertions, 3 deletions
diff --git a/lldb/tools/Makefile b/lldb/tools/Makefile index 96d5334dbc1..7c5d310ad2c 100644 --- a/lldb/tools/Makefile +++ b/lldb/tools/Makefile @@ -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 diff --git a/lldb/tools/driver/Makefile b/lldb/tools/driver/Makefile index 81823848841..e2f99574734 100644 --- a/lldb/tools/driver/Makefile +++ b/lldb/tools/driver/Makefile @@ -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,@loader_path/../lib/ LLVMLibsOptions += -Wl,-sectcreate -Wl,__TEXT -Wl,__info_plist -Wl,"$(PROJ_SRC_DIR)/lldb-Info.plist" |