Accepting request 86717 from devel:libraries:c_c++

- cross-build fix: use %__cc macro (forwarded request 86678 from uli_suse)

OBS-URL: https://build.opensuse.org/request/show/86717
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libaio?expand=0&rev=20
This commit is contained in:
Ruediger Oertel 2011-10-06 14:42:13 +00:00 committed by Git OBS Bridge
commit 5f481cea33
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 5 12:13:40 UTC 2011 - uli@suse.com
- cross-build fix: use %__cc macro
------------------------------------------------------------------- -------------------------------------------------------------------
Fri Sep 30 12:36:33 UTC 2011 - adrian@suse.de Fri Sep 30 12:36:33 UTC 2011 - adrian@suse.de

View File

@ -75,7 +75,7 @@ with, for the Linux-native asynchronous I/O facility ("async I/O", or
%patch -p1 -P 3 -P 4 -P 5 -P 6 -P 7 %patch -p1 -P 3 -P 4 -P 5 -P 6 -P 7
%build %build
make %{?_smp_mflags} OPTFLAGS="$RPM_OPT_FLAGS" make %{?_smp_mflags} CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS"
%install %install
make install prefix=%{buildroot}/usr libdir=%{buildroot}/%{_lib} make install prefix=%{buildroot}/usr libdir=%{buildroot}/%{_lib}