Add -DWIN32_LEAN_AND_MEAN build flag to get rid of winsock2.h warnings
It's better practice to include the minimal set of windows APIs anyways and we're not doing anything that requires more. Change-Id: I1b4362be4f707738b9cfbd6a87caabff8b8409ac
This commit is contained in:
parent
620e409127
commit
b4efae440b
1 changed files with 1 additions and 1 deletions
|
@ -27,7 +27,7 @@ ifneq ($(findstring Linux,$(UNAME)),)
|
|||
ifneq ($(strip $(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
|
||||
|
|
Loading…
Reference in a new issue