Accepting request 86935 from security:SELinux

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

OBS-URL: https://build.opensuse.org/request/show/86935
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/libsemanage?expand=0&rev=21
This commit is contained in:
Lars Vogdt 2011-10-06 22:49:17 +00:00 committed by Git OBS Bridge
commit 8959844aff
2 changed files with 7 additions and 2 deletions

View File

@ -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

View File

@ -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}