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: 6d9d871660 ("rtorrent: update to 0.15.3")
Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle committed 2026-09-15 18:08:44 +01:00
1 parent ae34d29eb6
commit d2a2e7b8dc
1 file changed
+2 -2
+2 -2
View File
@@ -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