libvorbis: build with LTO on arm

Reduces library size by 0.6%

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
This commit is contained in:
Ian Leonard 2018-04-07 12:56:47 -07:00
parent da040815fa
commit 4e80b1053f
1 changed files with 6 additions and 0 deletions

View File

@ -41,6 +41,12 @@ software entity may make full use of the format without license
fee, royalty or patent concerns.
endef
ifneq ($(findstring arm,$(CONFIG_ARCH)),)
TARGET_CFLAGS += -flto
TARGET_CXX_FLAGS += -flto
TARGET_LDFLAGS += -flto
endif
CONFIGURE_ARGS+= \
--disable-oggtest \