From a225fdcaa4de9fb2ea28a4b362db91431ae60be4 Mon Sep 17 00:00:00 2001 From: Jeff Law Date: Tue, 23 Feb 2021 16:32:38 -0700 Subject: [PATCH] - Disable strict-aliasing due to non-conforming code in aes.c (word_in, word_out). --- aespipe.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/aespipe.spec b/aespipe.spec index 1a6c54c..4321da3 100644 --- a/aespipe.spec +++ b/aespipe.spec @@ -1,7 +1,7 @@ Summary: AES-based encryption tool for tar/cpio and loop-aes imagemore Name: aespipe Version: 2.4f -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv2+ URL: http://loop-aes.sourceforge.net/ Source: http://loop-aes.sourceforge.net/aespipe/aespipe-v%{version}.tar.bz2 @@ -26,7 +26,9 @@ kernel module. %setup -q -n %{name}-v%{version} %build -# Package calls CC to link +# Package calls CC to link, and violates strict-aliasing C rules +%set_build_flags +CFLAGS="$CFLAGS -fno-strict-aliasing" %configure LDFLAGS="${CFLAGS}" %global make_target %{nil} @@ -56,6 +58,10 @@ install -Dp -m0755 aespipe %{buildroot}%{_bindir}/aespipe %{_bindir}/aespipe %changelog +* Tue Feb 23 2021 Jeff Law - 2.4f-3 +- Disable strict-aliasing due to non-conforming code in aes.c + (word_in, word_out). + * Mon Jan 25 2021 Fedora Release Engineering - 2.4f-2 - Rebuilt for https://fedoraproject.org/wiki/Fedora_34_Mass_Rebuild