Add -fno-strict-aliasing so ia64 builds.

This commit is contained in:
William Eden Cohen 2006-05-05 15:21:25 +00:00
parent 89e73ca765
commit 5b84782b2e

View File

@ -1,5 +1,5 @@
%define DATE 060421
%define libpfm_release 2
%define libpfm_release 3
Summary: a performance monitoring library for Linux/ia64
Name: libpfm
Version: 3.2
@ -36,7 +36,7 @@ It requires a kernel perfmon-2.x subsystem.
%install
rm -rf %{buildroot}
mkdir -p %{buildroot}/%{_prefix}
make install CFLAGS="$RPM_OPT_FLAGS" \
make install CFLAGS="$RPM_OPT_FLAGS -fno-strict-aliasing" \
DESTDIR=%{buildroot}/%{_prefix}
%post -p /sbin/ldconfig
@ -59,6 +59,9 @@ rm -rf %{buildroot}
%{_mandir}/man3/*
%changelog
* Fri May 05 2006 Will Cohen <wcohen@redhat.com>
- fno-strict-aliasing so ia64 builds.
* Fri May 05 2006 Will Cohen <wcohen@redhat.com>
- make sure that perfmon_compat.h installed for ia64.