mpd: remove no-lto
authorRosen Penev <rosenp@gmail.com>
Thu, 28 Nov 2024 22:28:48 +0000 (14:28 -0800)
committerRosen Penev <rosenp@gmail.com>
Fri, 29 Nov 2024 20:05:16 +0000 (12:05 -0800)
This seems to no longer fail compilation.

Use meson's b_lto to turn it on always.

Signed-off-by: Rosen Penev <rosenp@gmail.com>
sound/mpd/Makefile

index f7799d139e9f6a9bcb18a9dec846a29cc7bd1ba2..48bb05d398522a05fbb627fb0482b3177b077109 100644 (file)
@@ -7,7 +7,7 @@ include $(TOPDIR)/rules.mk
 
 PKG_NAME:=mpd
 PKG_VERSION:=0.23.15
-PKG_RELEASE:=2
+PKG_RELEASE:=3
 
 PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.xz
 PKG_SOURCE_URL:=https://www.musicpd.org/download/mpd/0.23
@@ -22,7 +22,7 @@ PKG_CONFIG_DEPENDS:= \
        CONFIG_BUILD_PATENTED \
        CONFIG_IPV6 \
 
-PKG_BUILD_FLAGS:=no-mips16 no-lto
+PKG_BUILD_FLAGS:=no-mips16
 
 include $(INCLUDE_DIR)/package.mk
 include $(INCLUDE_DIR)/nls.mk
@@ -101,6 +101,7 @@ define Package/mpd-avahi-service/conffiles
 endef
 
 MESON_ARGS += \
+       -Db_lto=true \
        -Ddocumentation=disabled \
        -Dhtml_manual=false \
        -Dmanpages=false \