]> git.99rst.org Git - openwrt-packages.git/commitdiff
rtorrent: stop discarding the target build flags
authorDaniel Golle <redacted>
Mon, 14 Sep 2026 15:46:13 +0000 (16:46 +0100)
committerDaniel Golle <redacted>
Tue, 15 Sep 2026 17:08:44 +0000 (18:08 +0100)
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 <redacted>
net/rtorrent/Makefile

index f17e6578c89c9d02c9395707c30116ae0b54b0e5..07a10f544f464a682ec41ae42b4fdf9cf1e044d1 100644 (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
git clone https://git.99rst.org/PROJECT