From: Daniel Golle Date: Mon, 14 Sep 2026 15:46:13 +0000 (+0100) Subject: rtorrent: stop discarding the target build flags X-Git-Url: http://git.99rst.org/?a=commitdiff_plain;h=d2a2e7b8dc1ed2dc2f962d0e87b383d653e3ff50;p=openwrt-packages.git rtorrent: stop discarding the target build flags CONFIGURE_VARS is assigned rather than appended to, which discards the default from package-defaults.mk: the cross compiler settings and the CFLAGS, CXXFLAGS, CPPFLAGS and LDFLAGS the build system passes. The client is configured with autoconf's own -g -O2 and built for the toolchain's default architecture instead, without the target CPU flags, the hardening flags and -ffile-prefix-map. Fixes: 6d9d87166017 ("rtorrent: update to 0.15.3") Signed-off-by: Daniel Golle --- diff --git a/net/rtorrent/Makefile b/net/rtorrent/Makefile index f17e6578c..07a10f544 100644 --- a/net/rtorrent/Makefile +++ b/net/rtorrent/Makefile @@ -9,7 +9,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=rtorrent PKG_VERSION:=0.15.5 -PKG_RELEASE:=1 +PKG_RELEASE:=2 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://github.com/rakshasa/rtorrent @@ -76,7 +76,7 @@ ifeq ($(BUILD_VARIANT),rpc) CONFIGURE_ARGS += --with-xmlrpc-c endif -CONFIGURE_VARS = \ +CONFIGURE_VARS += \ ax_cv_cxx_compile_cxx17=yes define Package/rtorrent/install