aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYing Wang <wangying@google.com>2011-10-04 11:14:06 -0700
committerYing Wang <wangying@google.com>2011-10-04 11:14:06 -0700
commit048dacdca43eed1534689ececcf2781c63e1e4ba (patch)
treeed724c735253465367568cf50ec3ef36d1a160e0
parent9ac1ec23f7a9ad61bec16960ec33635f78097441 (diff)
downloadandroid_external_bzip2-048dacdca43eed1534689ececcf2781c63e1e4ba.tar.gz
android_external_bzip2-048dacdca43eed1534689ececcf2781c63e1e4ba.tar.bz2
android_external_bzip2-048dacdca43eed1534689ececcf2781c63e1e4ba.zip
Build target bzip2 against the NDK.ics-releaseicscm-9.1.0
Change-Id: Ibe76f8eac4dc0db0cc9a6aa214fc005d7561e6a7
-rw-r--r--Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index 35dfec7..2ce58ca 100644
--- a/Android.mk
+++ b/Android.mk
@@ -31,6 +31,10 @@ bzlib_files := \
LOCAL_SRC_FILES := $(bzlib_files)
LOCAL_MODULE := libbz
LOCAL_CFLAGS += -O3 -DUSE_MMAP
+ifneq ($(TARGET_ARCH),x86)
+ LOCAL_NDK_VERSION := 5
+ LOCAL_SDK_VERSION := 9
+endif
include $(BUILD_STATIC_LIBRARY)
include $(CLEAR_VARS)