Accepting request 86726 from home:uli_suse:branches:security

- cross-build fix: use %__cc macro

OBS-URL: https://build.opensuse.org/request/show/86726
OBS-URL: https://build.opensuse.org/package/show/security/keyutils?expand=0&rev=12
This commit is contained in:
Pavol Rusnak 2011-10-06 15:06:57 +00:00 committed by Git OBS Bridge
parent 21782022b7
commit 35535d23e7
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Wed Oct 5 15:04:53 UTC 2011 - uli@suse.com
- cross-build fix: use %__cc macro
-------------------------------------------------------------------
Thu Sep 22 18:05:05 CEST 2011 - meissner@suse.de

View File

@ -61,7 +61,7 @@ This package provides headers and libraries for building key utilities.
%patch2 -p0
%build
make %{?_smp_mflags} NO_ARLIB=1 CFLAGS="$RPM_OPT_FLAGS"
make %{?_smp_mflags} NO_ARLIB=1 CFLAGS="$RPM_OPT_FLAGS" CC="%__cc"
%install
make install NO_ARLIB=1 DESTDIR=$RPM_BUILD_ROOT LIBDIR=/%_lib USRLIBDIR=/usr/%_lib