]> git.99rst.org Git - openwrt-packages.git/commit
udpspeeder: build with the toolchain CXX and flags
authorDavid Connolly <redacted>
Sun, 5 Jul 2026 20:44:44 +0000 (21:44 +0100)
committerJosef Schlehofer <redacted>
Sat, 18 Jul 2026 06:11:19 +0000 (08:11 +0200)
commit5b90fb99a09d5a3309ecf888a3f333283e581f3d
tree9bd56bc3eab27ea9e504511fcd2dacdb7c4eaf56
parent35d5fe4a0558846aea0055e79018d3b8b6868975
udpspeeder: build with the toolchain CXX and flags

Patch the upstream makefile to build the cross target with $(CXX) and the
toolchain $(CXXFLAGS)/$(LDFLAGS), and take the version from an overridable
variable. This replaces the Build/Prepare sed rewrites, and the binary now
picks up the hardening flags.

Honouring CXXFLAGS turns on -mips16 for the mips_24kc targets, where the
C++ atomics compile to a sync instruction MIPS16 cannot encode, so build
them with no-mips16.

Signed-off-by: David Connolly <redacted>
net/udpspeeder/Makefile
net/udpspeeder/patches/010-build-with-toolchain-flags.patch [new file with mode: 0644]
git clone https://git.99rst.org/PROJECT