Adding a define to tell Android Classpath to disable IPv6, removing -fPIC on Windows as it's useless there and generates warnings

This commit is contained in:
Vasily Litvinov 2014-02-26 19:41:55 +04:00
parent e217a4faf8
commit 63a691f41d

View File

@ -179,6 +179,7 @@ ifneq ($(android),)
-DOS_SHARED_LIB_FORMAT_STR="\"$(so-prefix)%s$(so-suffix)\"" \
-DJNI_JARJAR_PREFIX= \
-D__DARWIN_UNIX03=1 \
-D__DISABLE_IPV6_PROTO \
-g3
luni-cpps := $(shell find $(luni-native) -name '*.cpp')
@ -193,9 +194,6 @@ ifneq ($(android),)
ifeq ($(platform),windows)
android-cflags += -D__STDC_CONSTANT_MACROS
ifneq ($(arch),i386)
android-cflags += -fPIC
endif
blacklist = $(luni-native)/java_io_Console.cpp \
$(luni-native)/java_lang_ProcessManager.cpp \
$(luni-native)/libcore_net_RawSocket.cpp \