summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2025-01-08 19:17:39 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2025-01-09 11:19:00 +0100
commit31e6c96a7d5fa662005dda6dd751ff4d952e6801 (patch)
tree7c52c7b0c7bebf6ad51f00df01f5e93cc7ddd189
parent98fb3d68609e979491b1ec78415da2833a93b424 (diff)
package: apcupsd: Fix for compiling with gcc-13
Kudos to Fabrice Fontaine for coming up with this: https://lore.kernel.org/buildroot/20240113100654.85904-1-fontaine.fabrice@gmail.com/ Signed-off-by: Phil Sutter <phil@nwl.cc>
-rw-r--r--package/apcupsd/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/package/apcupsd/Makefile b/package/apcupsd/Makefile
index c6d72cd94..52b6def9a 100644
--- a/package/apcupsd/Makefile
+++ b/package/apcupsd/Makefile
@@ -24,7 +24,7 @@ $(eval $(call PKG_template,APCUPSD,apcupsd,$(PKG_VERSION)-$(PKG_RELEASE),$(PKG_D
CONFIGURE_ARGS+= --prefix="${WRKINST}" --sbindir="/usr/sbin" --enable-usb
CONFIGURE_ENV+= ac_cv_path_WALL=/usr/bin/wall
-XAKE_FLAGS:= VERBOSE=1 STRIP=""
+XAKE_FLAGS:= VERBOSE=1 STRIP="" LD="$(TARGET_CXX)"
# XXX: custom init script?
apcupsd-install: