+dcmtk (3.6.7-10) UNRELEASED; urgency=medium
+
+ * Fix build on armel. Closes: #1060104
+
+ -- Sebastien Jodogne <s.jodogne@gmail.com> Tue, 19 Mar 2024 11:03:28 +0100
+
dcmtk (3.6.7-9.1) unstable; urgency=medium
* Non-maintainer upload.
libdcmtk17t64: package-name-doesnt-match-sonames
libdcmtk17t64: embedded-library
libdcmtk17t64: no-symbols-control-file
-libdcmtk17t64: package-name-doesnt-match-sonames libdcmtk17
#export DH_VERBOSE=1
# export DEB_BUILD_MAINT_OPTIONS = hardening=+pie
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+ifeq ($(DEB_TARGET_ARCH),armel)
+ # https://lists.debian.org/debian-arm/2024/01/msg00031.html
+ # https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1060104
+ export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-stackclash optimize=+lto
+else
+ export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=+lto
+endif
# needed for the tests
export DCMDICTPATH=$(CURDIR)/dcmdata/data/dicom.dic