Loading core/combo/HOST_darwin-x86.mk +5 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,11 @@ HOST_GLOBAL_CFLAGS += -m32 HOST_GLOBAL_LDFLAGS += -m32 endif # BUILD_HOST_64bit ifneq ($(strip $(BUILD_HOST_static)),) # Statically-linked binaries are desirable for sandboxed environment HOST_GLOBAL_LDFLAGS += -static endif # BUILD_HOST_static build_mac_version := $(shell sw_vers -productVersion) mac_sdk_version := 10.6 mac_sdk_root := /Developer/SDKs/MacOSX$(mac_sdk_version).sdk Loading core/combo/HOST_linux-x86.mk +5 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,11 @@ HOST_GLOBAL_CFLAGS += -m32 HOST_GLOBAL_LDFLAGS += -m32 endif # BUILD_HOST_64bit ifneq ($(strip $(BUILD_HOST_static)),) # Statically-linked binaries are desirable for sandboxed environment HOST_GLOBAL_LDFLAGS += -static endif # BUILD_HOST_static HOST_GLOBAL_CFLAGS += -fPIC HOST_GLOBAL_CFLAGS += \ -include $(call select-android-config-h,linux-x86) Loading core/combo/HOST_windows-x86.mk +4 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,10 @@ HOST_AR := $(TOOLS_PREFIX)ar$(TOOLS_EXE_SUFFIX) HOST_GLOBAL_CFLAGS += -include $(call select-android-config-h,windows) HOST_GLOBAL_LDFLAGS += --enable-stdcall-fixup ifneq ($(strip $(BUILD_HOST_static)),) # Statically-linked binaries are desirable for sandboxed environment HOST_GLOBAL_LDFLAGS += -static endif # BUILD_HOST_static # when building under Cygwin, ensure that we use Mingw compilation by default. # you can disable this (i.e. to generate Cygwin executables) by defining the Loading tools/zipalign/Android.mk +4 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,10 @@ else LOCAL_LDLIBS += -lz endif ifneq ($(strip $(BUILD_HOST_static)),) LOCAL_LDLIBS += -lpthread endif # BUILD_HOST_static LOCAL_MODULE := zipalign include $(BUILD_HOST_EXECUTABLE) Loading Loading
core/combo/HOST_darwin-x86.mk +5 −0 Original line number Diff line number Diff line Loading @@ -29,6 +29,11 @@ HOST_GLOBAL_CFLAGS += -m32 HOST_GLOBAL_LDFLAGS += -m32 endif # BUILD_HOST_64bit ifneq ($(strip $(BUILD_HOST_static)),) # Statically-linked binaries are desirable for sandboxed environment HOST_GLOBAL_LDFLAGS += -static endif # BUILD_HOST_static build_mac_version := $(shell sw_vers -productVersion) mac_sdk_version := 10.6 mac_sdk_root := /Developer/SDKs/MacOSX$(mac_sdk_version).sdk Loading
core/combo/HOST_linux-x86.mk +5 −0 Original line number Diff line number Diff line Loading @@ -52,6 +52,11 @@ HOST_GLOBAL_CFLAGS += -m32 HOST_GLOBAL_LDFLAGS += -m32 endif # BUILD_HOST_64bit ifneq ($(strip $(BUILD_HOST_static)),) # Statically-linked binaries are desirable for sandboxed environment HOST_GLOBAL_LDFLAGS += -static endif # BUILD_HOST_static HOST_GLOBAL_CFLAGS += -fPIC HOST_GLOBAL_CFLAGS += \ -include $(call select-android-config-h,linux-x86) Loading
core/combo/HOST_windows-x86.mk +4 −0 Original line number Diff line number Diff line Loading @@ -46,6 +46,10 @@ HOST_AR := $(TOOLS_PREFIX)ar$(TOOLS_EXE_SUFFIX) HOST_GLOBAL_CFLAGS += -include $(call select-android-config-h,windows) HOST_GLOBAL_LDFLAGS += --enable-stdcall-fixup ifneq ($(strip $(BUILD_HOST_static)),) # Statically-linked binaries are desirable for sandboxed environment HOST_GLOBAL_LDFLAGS += -static endif # BUILD_HOST_static # when building under Cygwin, ensure that we use Mingw compilation by default. # you can disable this (i.e. to generate Cygwin executables) by defining the Loading
tools/zipalign/Android.mk +4 −0 Original line number Diff line number Diff line Loading @@ -28,6 +28,10 @@ else LOCAL_LDLIBS += -lz endif ifneq ($(strip $(BUILD_HOST_static)),) LOCAL_LDLIBS += -lpthread endif # BUILD_HOST_static LOCAL_MODULE := zipalign include $(BUILD_HOST_EXECUTABLE) Loading