diff --git a/libsemanage.changes b/libsemanage.changes index 3c841b6..dfbabd1 100644 --- a/libsemanage.changes +++ b/libsemanage.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Wed Oct 5 15:10:27 UTC 2011 - uli@suse.com + +- cross-build fix: use %__cc macro + ------------------------------------------------------------------- Thu Sep 22 13:14:39 CEST 2011 - dmueller@suse.de diff --git a/libsemanage.spec b/libsemanage.spec index ae23fce..1a20875 100644 --- a/libsemanage.spec +++ b/libsemanage.spec @@ -103,8 +103,8 @@ needed for developing applications that manipulate binary policies. %build make clean -make -j1 CFLAGS="%{optflags}" -make -j1 CFLAGS="%{optflags}" LIBDIR="%{_libdir}" SHLIBDIR="%{_lib}" all +make -j1 CFLAGS="%{optflags}" CC="%{__cc}" +make -j1 CFLAGS="%{optflags}" LIBDIR="%{_libdir}" SHLIBDIR="%{_lib}" CC="%{__cc}" all %install mkdir -p %{buildroot}/%{_lib}