Accepting request 88925 from Base:System

OBS-URL: https://build.opensuse.org/request/show/88925
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/pigz?expand=0&rev=4
This commit is contained in:
Stephan Kulow 2011-10-21 14:23:43 +00:00 committed by Git OBS Bridge
parent 7664ae7a6c
commit 1dadf59343
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,9 @@
-------------------------------------------------------------------
Fri Sep 30 15:54:33 UTC 2011 - uli@suse.com
- cross-build workaround: use fake cc script to work around build
system that does not honor CC
-------------------------------------------------------------------
Thu Jun 2 12:20:22 CEST 2011 - visnov@suse.cz

View File

@ -48,6 +48,9 @@ multi-core machines
%build
export MYCFLAGS="${RPM_OPT_FLAGS}"
echo -e "#!/bin/bash\nexec %__cc \"\$@\"" >cc
chmod 755 cc
export PATH=.:$PATH
%{__make} CFLAGS="$MYCFLAGS" PREFIX=%{_prefix} LIBDIR=%{_libdir}
%install