am 256ea6ca: Merge "Add -DWIN32_LEAN_AND_MEAN build flag to get rid of winsock2.h warnings" into lmp-mr1-dev automerge: 708e021

* commit '256ea6cad056df901785b8834c865fbb3f5afa71':
  Add -DWIN32_LEAN_AND_MEAN build flag to get rid of winsock2.h warnings
This commit is contained in:
Adam Lesinski 2014-10-28 19:18:18 +00:00 committed by Android Git Automerger
commit 6143aeead0
1 changed files with 1 additions and 1 deletions

View File

@ -27,7 +27,7 @@ ifneq ($(findstring Linux,$(UNAME)),)
ifdef USE_MINGW
HOST_ACP_UNAVAILABLE := true
TOOLS_EXE_SUFFIX :=
$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -DUSE_MINGW
$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -DUSE_MINGW -DWIN32_LEAN_AND_MEAN
$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -Wno-unused-parameter
$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += --sysroot=prebuilts/gcc/linux-x86/host/x86_64-w64-mingw32-4.8/x86_64-w64-mingw32
$(combo_2nd_arch_prefix)HOST_GLOBAL_CFLAGS += -m32