- Actually spell RPM_OPT_FLAGS correctly this time.

This commit is contained in:
mharris 2005-11-02 10:30:55 +00:00
parent 16b834126a
commit 41add98f23

View File

@ -1,7 +1,7 @@
Summary: X.Org X11 libXss runtime library
Name: libXScrnSaver
Version: 0.99.2
Release: 2
Release: 3
License: MIT/X11
Group: System Environment/Libraries
URL: http://www.x.org
@ -36,7 +36,7 @@ X.Org X11 libXss development package
%build
# FIXME: XScrnSaver.c:429: warning: dereferencing type-punned pointer will break strict-aliasing rules
export CFLAGS="$RPM_OPTFLAGS -fno-strict-aliasing"
export CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing"
%configure \
%if ! %{with_static}
--disable-static
@ -76,6 +76,9 @@ rm -rf $RPM_BUILD_ROOT
%{_mandir}/man3x/*.3x*
%changelog
* Wed Nov 2 2005 Mike A. Harris <mharris@redhat.com> 0.99.2-3
- Actually spell RPM_OPT_FLAGS correctly this time.
* 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