summaryrefslogtreecommitdiffstats
path: root/jni/Android.mk
diff options
context:
space:
mode:
authorMichael Bestas <mikeioannina@cyanogenmod.org>2016-01-09 03:23:08 (GMT)
committerMichael Bestas <mikeioannina@cyanogenmod.org>2016-01-09 18:50:16 (GMT)
commit98dfd0d7cd56f3992d58eb28d953031f2aae9d35 (patch)
tree0c3d0acedaf782c57767418e47f9a9647609a0a3 /jni/Android.mk
parent6bfdb1bffac4d2e56c7c7a1522f3cc966daff072 (diff)
downloadandroid_packages_apps_Snap-98dfd0d7cd56f3992d58eb28d953031f2aae9d35.zip
android_packages_apps_Snap-98dfd0d7cd56f3992d58eb28d953031f2aae9d35.tar.gz
android_packages_apps_Snap-98dfd0d7cd56f3992d58eb28d953031f2aae9d35.tar.bz2
Snap: Fix jni compiler warnings
Change-Id: I091a8928a9a0674c54759ff8b384259d8f16793e
Diffstat (limited to 'jni/Android.mk')
-rwxr-xr-xjni/Android.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/jni/Android.mk b/jni/Android.mk
index b052c09..91b3184 100755
--- a/jni/Android.mk
+++ b/jni/Android.mk
@@ -9,7 +9,7 @@ LOCAL_C_INCLUDES := \
$(LOCAL_PATH)/feature_mos/src \
$(LOCAL_PATH)/feature_mos/src/mosaic
-LOCAL_CFLAGS := -O3 -DNDEBUG -fstrict-aliasing
+LOCAL_CFLAGS := -O3 -DNDEBUG -fstrict-aliasing -Wno-unused-parameter
LOCAL_SRC_FILES := \
feature_mos_jni.cpp \
@@ -58,7 +58,7 @@ LOCAL_SDK_VERSION := 9
LOCAL_MODULE := libjni_snaptinyplanet
LOCAL_SRC_FILES := tinyplanet.cc
-LOCAL_CFLAGS += -ffast-math -O3 -funroll-loops
+LOCAL_CFLAGS := -ffast-math -O3 -funroll-loops -Wno-unused-parameter
LOCAL_ARM_MODE := arm
include $(BUILD_SHARED_LIBRARY)