summaryrefslogtreecommitdiffstats
path: root/modules/audio
diff options
context:
space:
mode:
authorColin Cross <ccross@android.com>2014-04-18 15:41:11 -0700
committerColin Cross <ccross@android.com>2014-04-18 15:46:30 -0700
commit0dbcdf3aff055cfac59b4699f2714685a8d655e9 (patch)
treea33c4f4f415e705f3e81e811e429fecbd9ad2b01 /modules/audio
parent37de84bc96f808601897bcd126b73fc839fd2c20 (diff)
downloadhardware_libhardware-0dbcdf3aff055cfac59b4699f2714685a8d655e9.zip
hardware_libhardware-0dbcdf3aff055cfac59b4699f2714685a8d655e9.tar.gz
hardware_libhardware-0dbcdf3aff055cfac59b4699f2714685a8d655e9.tar.bz2
audio: allow compiling for 64-bit
Set -Wno-unused-parameter, which makes the directory warnings-clean on 32-bit and 64-bit. Remove LOCAL_32_BIT_ONLY. Change-Id: If0c0135e57935d785a0f36b7d5187ac567c7e21c
Diffstat (limited to 'modules/audio')
-rw-r--r--modules/audio/Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/modules/audio/Android.mk b/modules/audio/Android.mk
index 84d8203..a31c85f 100644
--- a/modules/audio/Android.mk
+++ b/modules/audio/Android.mk
@@ -27,7 +27,7 @@ LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SRC_FILES := audio_hw.c
LOCAL_SHARED_LIBRARIES := liblog libcutils
LOCAL_MODULE_TAGS := optional
-LOCAL_32_BIT_ONLY := true
+LOCAL_CFLAGS := -Wno-unused-parameter
include $(BUILD_SHARED_LIBRARY)
@@ -40,6 +40,6 @@ LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SRC_FILES := audio_policy.c
LOCAL_SHARED_LIBRARIES := liblog libcutils
LOCAL_MODULE_TAGS := optional
-LOCAL_32_BIT_ONLY := true
+LOCAL_CFLAGS := -Wno-unused-parameter
include $(BUILD_SHARED_LIBRARY)