Re: Bug#957487: libzstd: ftbfs with GCC-10
Hi Andreas,
On Fri, Aug 7, 2020 at 10:39 AM Andreas Tille <andreas@an3as.eu> wrote:
>
> Control: tags -1 help
>
> Hi,
>
> this issue is now RC and has not changed in current version 1.4.5.
>
> Any hint what to do?
The attached patch is the easiest solution for now. But I will suggest
raising an issue with upstream and asking them to fix it properly.
--
Regards
Sudip
From dd20c1601ef9e669746eb609b86026673e8fbb0f Mon Sep 17 00:00:00 2001
From: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Date: Fri, 7 Aug 2020 15:38:20 +0100
Subject: [PATCH] Disable strict-aliasing
Signed-off-by: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
---
debian/rules | 1 +
1 file changed, 1 insertion(+)
diff --git a/debian/rules b/debian/rules
index ecc7b58..7586ac0 100755
--- a/debian/rules
+++ b/debian/rules
@@ -5,6 +5,7 @@ export DH_VERBOSE=1
DEB_HOST_MULTIARCH ?= $(shell dpkg-architecture -qDEB_HOST_MULTIARCH)
DEB_HOST_ARCH ?= $(shell dpkg-architecture -qDEB_HOST_ARCH)
export DEB_BUILD_MAINT_OPTIONS=hardening=+all
+export DEB_CFLAGS_MAINT_APPEND = -fno-strict-aliasing
# Upstream's makefiles will respect PREFIX, and this means we avoid a patch
export PREFIX=/usr
--
2.20.1
Reply to: