From 6ac0b8a0a3d0e3ba3f5e8eb2940ea49e5096d72666b306ed0f184bb5bb5492e9 Mon Sep 17 00:00:00 2001 From: Dirk Mueller Date: Wed, 5 Oct 2011 15:26:58 +0000 Subject: [PATCH] Accepting request 86678 from home:uli_suse:branches:devel:libraries:c_c++ - cross-build fix: use %__cc macro OBS-URL: https://build.opensuse.org/request/show/86678 OBS-URL: https://build.opensuse.org/package/show/devel:libraries:c_c++/libaio?expand=0&rev=13 --- libaio.changes | 5 +++++ libaio.spec | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) 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}