diff --git a/libaio.changes b/libaio.changes index 7c2d68a..ac2f8ea 100644 --- a/libaio.changes +++ b/libaio.changes @@ -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 diff --git a/libaio.spec b/libaio.spec index 0d3ea64..b1b6711 100644 --- a/libaio.spec +++ b/libaio.spec @@ -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 %build -make %{?_smp_mflags} OPTFLAGS="$RPM_OPT_FLAGS" +make %{?_smp_mflags} CC="%__cc" OPTFLAGS="$RPM_OPT_FLAGS" %install make install prefix=%{buildroot}/usr libdir=%{buildroot}/%{_lib}