Turns out the fix is as simple as:

```
$ git show | cat
commit 6349d369979b3bfb61520e67eea536e0b9bb0c1a
Author: Georgi Georgiev <[email protected]>
Date:   Sun Mar 1 01:21:34 2026 +0900

    remove fails or leaves corrupted data when compiled with default
optimizations

    Fixes https://bugs.launchpad.net/ubuntu/+source/tkrzw/+bug/2142937

diff --git a/debian/rules b/debian/rules
index 7ad8aec..e1913df 100755
--- a/debian/rules
+++ b/debian/rules
@@ -4,7 +4,7 @@
 # export DH_VERBOSE=1

 # see FEATURE AREAS in dpkg-buildflags(1)
-export DEB_BUILD_MAINT_OPTIONS = hardening=+all
+export DEB_BUILD_MAINT_OPTIONS = hardening=+all optimize=-lto

 # see ENVIRONMENT in dpkg-buildflags(1)
 # package maintainers to append CFLAGS

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2142937

Title:
  tkrzw remove fails or leaves corrupted data when compiled with default
  optimizations

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/tkrzw/+bug/2142937/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to