Merge "Android.mk: add some release compile flags"

This commit is contained in:
James Zern 2013-12-07 13:38:15 -08:00 committed by Gerrit Code Review
commit 150b655f74

View File

@ -3,7 +3,8 @@ LOCAL_PATH := $(call my-dir)
WEBP_CFLAGS := -Wall -DANDROID -DHAVE_MALLOC_H -DHAVE_PTHREAD -DWEBP_USE_THREAD
ifeq ($(APP_OPTIM),release)
WEBP_CFLAGS += -finline-functions -frename-registers -ffast-math -s
WEBP_CFLAGS += -finline-functions -frename-registers -ffast-math -s \
-ffunction-sections -fdata-sections
endif
include $(CLEAR_VARS)