* Use generic as RPMALLOC_ARCH.
* Architecture: linux-any (no upstream support for Hurd)
It is not obvious to me where RPMALLOC_ARCH would have any effect other
than defining a path.
diff -Nru librpmalloc-2.0.1/debian/control librpmalloc-2.0.1/debian/control
--- librpmalloc-2.0.1/debian/control 2026-09-19 15:01:09.000000000 +0300
+++ librpmalloc-2.0.1/debian/control 2026-09-19 15:01:09.000000000 +0300
@@ -14,7 +14,7 @@
Homepage: https://github.com/mjansson/rpmalloc
Package: librpmalloc1
-Architecture: any
+Architecture: linux-any
Multi-Arch: same
Depends:
${shlibs:Depends},
@@ -27,7 +27,7 @@
This package contains the shared library.
Package: librpmalloc-dev
-Architecture: any
+Architecture: linux-any
Multi-Arch: same
Section: libdevel
Depends:
diff -Nru librpmalloc-2.0.1/debian/rules librpmalloc-2.0.1/debian/rules
--- librpmalloc-2.0.1/debian/rules 2026-09-19 15:01:09.000000000 +0300
+++ librpmalloc-2.0.1/debian/rules 2026-09-19 15:01:09.000000000 +0300
@@ -4,13 +4,13 @@
RELEASE:=debug
RPMALLOC_OS := linux
-RPMALLOC_ARCH := $(subst _,-,$(DEB_HOST_GNU_CPU))
+RPMALLOC_ARCH := generic
%:
dh $@
override_dh_auto_configure:
- python3 configure.py -t $(RPMALLOC_OS) --toolchain gcc -c $(RELEASE)
+ python3 configure.py -t $(RPMALLOC_OS) --toolchain gcc -c $(RELEASE) -a $(RPMALLOC_ARCH)
override_dh_auto_build:
ninja -v