mirror of
https://github.com/webmproject/libwebp.git
synced 2024-11-20 12:28:26 +01:00
Merge "Android.mk: add some release compile flags"
This commit is contained in:
commit
150b655f74
@ -3,7 +3,8 @@ LOCAL_PATH := $(call my-dir)
|
|||||||
WEBP_CFLAGS := -Wall -DANDROID -DHAVE_MALLOC_H -DHAVE_PTHREAD -DWEBP_USE_THREAD
|
WEBP_CFLAGS := -Wall -DANDROID -DHAVE_MALLOC_H -DHAVE_PTHREAD -DWEBP_USE_THREAD
|
||||||
|
|
||||||
ifeq ($(APP_OPTIM),release)
|
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
|
endif
|
||||||
|
|
||||||
include $(CLEAR_VARS)
|
include $(CLEAR_VARS)
|
||||||
|
Loading…
Reference in New Issue
Block a user