- Build with -fno-strict-aliasing to work around possible pointer aliasing
issue
This commit is contained in:
parent
796d3d3286
commit
16b834126a
@ -1,7 +1,7 @@
|
||||
Summary: X.Org X11 libXss runtime library
|
||||
Name: libXScrnSaver
|
||||
Version: 0.99.2
|
||||
Release: 1
|
||||
Release: 2
|
||||
License: MIT/X11
|
||||
Group: System Environment/Libraries
|
||||
URL: http://www.x.org
|
||||
@ -35,6 +35,8 @@ X.Org X11 libXss development package
|
||||
%define with_static 0
|
||||
|
||||
%build
|
||||
# FIXME: XScrnSaver.c:429: warning: dereferencing type-punned pointer will break strict-aliasing rules
|
||||
export CFLAGS="$RPM_OPTFLAGS -fno-strict-aliasing"
|
||||
%configure \
|
||||
%if ! %{with_static}
|
||||
--disable-static
|
||||
@ -74,6 +76,10 @@ rm -rf $RPM_BUILD_ROOT
|
||||
%{_mandir}/man3x/*.3x*
|
||||
|
||||
%changelog
|
||||
* Mon Oct 31 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-2
|
||||
- Build with -fno-strict-aliasing to work around possible pointer aliasing
|
||||
issue
|
||||
|
||||
* Mon Oct 24 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-1
|
||||
- Updated libXScrnSaver to version 0.99.2 from X11R7 RC1
|
||||
- Updated file manifest to find manpages in "man3x"
|
||||
|
Loading…
Reference in New Issue
Block a user