- Actually spell RPM_OPT_FLAGS correctly this time.

This commit is contained in:
mharris 2005-11-02 10:26:35 +00:00
parent 8f0668954e
commit 83832d1af1

View File

@ -1,7 +1,7 @@
Summary: X.Org X11 libXt runtime library
Name: libXt
Version: 0.99.1
Release: 2
Release: 3
License: MIT/X11
Group: System Environment/Libraries
URL: http://www.x.org
@ -46,7 +46,7 @@ X.Org X11 libXt development package
# NextEvent.c:1315: warning: dereferencing type-punned pointer will break strict-aliasing rules
# NextEvent.c:1340: warning: dereferencing type-punned pointer will break strict-aliasing rules
# NextEvent.c:1572: 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
@ -123,6 +123,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