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:
parent
da040815fa
commit
4e80b1053f
1 changed files with 6 additions and 0 deletions
|
@ -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 \
|
||||
|
||||
|
|
Loading…
Reference in a new issue