[rp-pppoe] build with -fno-strict-aliasing

Than Ngo than at fedoraproject.org
Thu Apr 25 08:54:22 UTC 2013


commit a34e5034c4fce2747f424cf0efe3bc9844294251
Author: Than Ngo <than at redhat.com>
Date:   Thu Apr 25 10:53:55 2013 +0200

    build with -fno-strict-aliasing

 rp-pppoe.spec |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/rp-pppoe.spec b/rp-pppoe.spec
index cd025ce..acc3899 100644
--- a/rp-pppoe.spec
+++ b/rp-pppoe.spec
@@ -1,7 +1,7 @@
 Summary: A PPP over Ethernet client (for xDSL support).
 Name: rp-pppoe
 Version: 3.11
-Release: 2%{?dist}
+Release: 3%{?dist}
 License: GPLv2+
 Group: System Environment/Daemons
 Url: http://www.roaringpenguin.com/pppoe/
@@ -55,7 +55,7 @@ the official PPPoE specification.
 %build
 cd src
 autoconf
-export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE"
+export CFLAGS="$RPM_OPT_FLAGS -D_GNU_SOURCE -fno-strict-aliasing"
 %configure
 make
 
@@ -116,6 +116,9 @@ fi
 %{_mandir}/man?/*
 
 %changelog
+* Thu Apr 25 2013 Than Ngo <than at redhat.com> - 3.11-3
+- build with -fno-strict-aliasing
+
 * Thu Feb 14 2013 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.11-2
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_19_Mass_Rebuild
 


More information about the scm-commits mailing list