SDK: fix emulator to build under Cygwin.
This focuses on fixing a gcc warning that does not
exists on GCC 3.4 (as used by my install of cygwin).
There are other compilation issues not resolved here.
Change-Id: If6e3f9565b665a716425dd3f90d044a41761557c
diff --git a/Makefile.common b/Makefile.common
index 882d638..e24dd33 100644
--- a/Makefile.common
+++ b/Makefile.common
@@ -84,6 +84,7 @@
EMULATOR_COMMON_CFLAGS += -D_FILE_OFFSET_BITS=64 -D_LARGEFILE_SOURCE
endif
+
###########################################################
# Zlib sources
#
@@ -318,7 +319,7 @@
AUDIO_CFLAGS := -I$(LOCAL_PATH)/audio -DHAS_AUDIO
AUDIO_LDLIBS :=
-common_LOCAL_CFLAGS += -Wall -Wno-missing-field-initializers
+common_LOCAL_CFLAGS += -Wall $(GCC_W_NO_MISSING_FIELD_INITIALIZERS)
ifeq ($(HOST_OS),darwin)
CONFIG_COREAUDIO ?= yes
@@ -396,7 +397,7 @@
EMULATOR_LIBQEMU_CFLAGS += $(AUDIO_CFLAGS)
EMULATOR_LIBQEMU_LDLIBS += $(AUDIO_LDLIBS)
-common_LOCAL_CFLAGS += -Wno-missing-field-initializers
+common_LOCAL_CFLAGS += $(GCC_W_NO_MISSING_FIELD_INITIALIZERS)
# migration sources
#