summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--config.h4
-rw-r--r--libFLAC/Android.mk2
2 files changed, 4 insertions, 2 deletions
diff --git a/config.h b/config.h
index 793995f..f168a69 100644
--- a/config.h
+++ b/config.h
@@ -113,7 +113,11 @@
#define PACKAGE_VERSION ""
/* The size of a `void*', as computed by sizeof. */
+#if __LP64__
+#define SIZEOF_VOIDP 8
+#else
#define SIZEOF_VOIDP 4
+#endif
/* Define to 1 if you have the ANSI C header files. */
#define STDC_HEADERS 1
diff --git a/libFLAC/Android.mk b/libFLAC/Android.mk
index 2adb498..6d97aa9 100644
--- a/libFLAC/Android.mk
+++ b/libFLAC/Android.mk
@@ -27,8 +27,6 @@ LOCAL_CFLAGS += -DHAVE_CONFIG_H -DFLAC__NO_MD5 -DFLAC__INTEGER_ONLY_LIBRARY
LOCAL_CFLAGS += -D_REENTRANT -DPIC -DU_COMMON_IMPLEMENTATION -fPIC
LOCAL_CFLAGS += -O3 -funroll-loops -finline-functions
-LOCAL_LDLIBS += -lm
-
LOCAL_ARM_MODE := arm
LOCAL_MODULE := libFLAC