mirror of
https://github.com/openwrt/packages.git
synced 2025-12-21 23:34:31 +04:00
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:
@@ -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 \
|
||||
|
||||
|
||||
Reference in New Issue
Block a user