Browse Source

libvorbis: build with LTO on arm

Reduces library size by 0.6%

Signed-off-by: Ian Leonard <antonlacon@gmail.com>
lilik-openwrt-22.03
Ian Leonard 7 years ago
parent
commit
4e80b1053f
1 changed files with 6 additions and 0 deletions
  1. +6
    -0
      libs/libvorbis/Makefile

+ 6
- 0
libs/libvorbis/Makefile View File

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


Loading…
Cancel
Save