[neon/backports-noble/pcre2-noble/Neon/release] debian: more multiarch'ing
Carlos De Maine
null at kde.org
Tue Jun 9 10:44:14 BST 2026
Git commit 7524e27c04d15fae444948425c541525ebf71b07 by Carlos De Maine.
Committed on 09/06/2026 at 09:44.
Pushed by carlosdem into branch 'Neon/release'.
more multiarch'ing
M +4 -1 debian/rules
https://invent.kde.org/neon/backports-noble/pcre2-noble/-/commit/7524e27c04d15fae444948425c541525ebf71b07
diff --git a/debian/rules b/debian/rules
index 767e630..7562912 100755
--- a/debian/rules
+++ b/debian/rules
@@ -10,6 +10,9 @@ include /usr/share/dpkg/default.mk
# ones in libc.
export DEB_CFLAGS_MAINT_APPEND = -Dregcomp=PCRE2regcomp -Dregexec=PCRE2regexec -Dregerror=PCRE2regerror -Dregfree=PCRE2regfree
+ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
+export CC=i686-linux-gnu-gcc
+endif
deb_maint_conf_args = --enable-pcre2-16 --enable-pcre2-32 --disable-pcre2grep-callout
#enable JIT only on architectures that support it (see pcre2jit.3)
@@ -33,6 +36,6 @@ override_dh_strip:
ifneq ($(DEB_BUILD_ARCH),$(DEB_HOST_ARCH))
override_dh_shlibdeps:
- dh_shlibdeps -l/lib/${DEB_HOST_ARCH}:/usr/lib/${DEB_HOST_ARCH}
+ dh_shlibdeps -l/lib/${DEB_HOST_MULTIARCH}:/usr/lib/${DEB_HOST_MULTIARCH}
endif
More information about the Neon-commits
mailing list