From 207051740e63213804fa91de4a1e45eebaed76ab Mon Sep 17 00:00:00 2001 From: Eric Sandeen Date: Sat, 6 Jun 2015 18:05:44 -0500 Subject: [PATCH] Add -fno-strict-aliasing --- e2fsprogs.spec | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/e2fsprogs.spec b/e2fsprogs.spec index c0c016e..a674399 100644 --- a/e2fsprogs.spec +++ b/e2fsprogs.spec @@ -1,7 +1,7 @@ Summary: Utilities for managing ext2, ext3, and ext4 filesystems Name: e2fsprogs Version: 1.42.13 -Release: 1%{?dist} +Release: 2%{?dist} # License tags based on COPYING file distinctions for various components License: GPLv2 @@ -152,10 +152,11 @@ It was originally inspired by the Multics SubSystem library. %patch1 -p1 -b .featurecheck %build -%configure --enable-elf-shlibs --enable-nls --disable-uuidd --disable-fsck \ +%configure CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \ + --enable-elf-shlibs --enable-nls --disable-uuidd --disable-fsck \ --disable-e2initrd-helper --disable-libblkid --disable-libuuid \ --enable-quota --with-root-prefix=/usr -make %{?_smp_mflags} +make V=1 %{?_smp_mflags} %install rm -rf %{buildroot} @@ -331,6 +332,9 @@ exit 0 %{_libdir}/pkgconfig/ss.pc %changelog +* Mon Jun 08 2015 Eric Sandeen 1.42.13-2 +- Add -fno-strict-aliasing (#1211582) + * Mon May 18 2015 Eric Sandeen 1.42.13-1 - New upstream release