- add $RPM_OPT_FLAGS to CFLAGS

This commit is contained in:
Martin Stransky 2005-02-16 13:17:56 +00:00
parent 7b0fb0e73e
commit 9ae94326c7

View File

@ -1,7 +1,7 @@
Summary: The Advanced Linux Sound Architecture (ALSA) library. Summary: The Advanced Linux Sound Architecture (ALSA) library.
Name: alsa-lib Name: alsa-lib
Version: 1.0.8 Version: 1.0.8
Release: 2.devel Release: 3.devel
License: LGPL License: LGPL
Group: System Environment/Libraries Group: System Environment/Libraries
Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}.tar.bz2 Source: ftp://ftp.alsa-project.org/pub/lib/%{name}-%{version}%{?prever}.tar.bz2
@ -43,6 +43,7 @@ against the ALSA libraries and interfaces.
%build %build
%configure \ %configure \
CFLAGS="$RPM_OPT_FLAGS"\
--enable-static=yes \ --enable-static=yes \
--datadir=/etc --datadir=/etc
make %{?_smp_mflags} make %{?_smp_mflags}
@ -92,6 +93,9 @@ ln -snf ../../etc/alsa %{_datadir}/alsa
%{_datadir}/aclocal/alsa.m4 %{_datadir}/aclocal/alsa.m4
%changelog %changelog
* Wed Feb 15 2005 Martin Stransky <stransky@redhat.com> 1.0.8-3.devel
- add $RPM_OPT_FLAGS to CFLAGS
* Fri Feb 11 2005 Martin Stransky <stransky@redhat.com> 1.0.8-2.devel * Fri Feb 11 2005 Martin Stransky <stransky@redhat.com> 1.0.8-2.devel
- add alpha patch (#147388, thx to Sergey Tikhonov) - add alpha patch (#147388, thx to Sergey Tikhonov)
- fix alsa-mixer on ICH6 system (#146607) - fix alsa-mixer on ICH6 system (#146607)