From f4d601069f76c0a1b6b42d65a416fadda1413503 Mon Sep 17 00:00:00 2001 From: Michal Sekletar Date: Mon, 9 Feb 2015 14:26:32 +0100 Subject: [PATCH] spec: disable optimizations which assume strict aliasing rules are honored --- ppp.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/ppp.spec b/ppp.spec index 9759b7f..398782b 100644 --- a/ppp.spec +++ b/ppp.spec @@ -3,7 +3,7 @@ Summary: The Point-to-Point Protocol daemon Name: ppp Version: 2.4.7 -Release: 6%{?dist} +Release: 7%{?dist} License: BSD and LGPLv2+ and GPLv2+ and Public Domain Group: System Environment/Daemons URL: http://www.samba.org/ppp @@ -78,7 +78,7 @@ This package contains the header files for building plugins for ppp. tar -xJf %{SOURCE12} %build -export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC -Wall" +export RPM_OPT_FLAGS="$RPM_OPT_FLAGS -fPIC -Wall -fno-strict-aliasing" %configure make %{?_smp_mflags} make -C ppp-watch %{?_smp_mflags} @@ -168,6 +168,9 @@ install -p %{SOURCE11} %{buildroot}%{_sysconfdir}/sysconfig/network-scripts/ifdo %doc PLUGINS %changelog +* Mon Feb 09 2015 Michal Sekletar - 2.4.7-7 +- prevent running into issues caused by undefined behavior (pointers of incompatible types aliasing the same object) + * Wed Dec 10 2014 Michal Sekletar - 2.4.7-6 - fix logical expression in eap_client_active macro (#1023620)