Accepting request 86496 from Base:System
- cross-build fix: use %__cc macro (not %configure, this is not autoconf) (forwarded request 86488 from uli_suse) OBS-URL: https://build.opensuse.org/request/show/86496 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/zlib?expand=0&rev=39
This commit is contained in:
parent
d91ee33f9d
commit
24acb76431
@ -1,3 +1,9 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Tue Oct 4 09:10:46 UTC 2011 - uli@suse.com
|
||||||
|
|
||||||
|
- cross-build fix: use %__cc macro (not %configure, this is not
|
||||||
|
autoconf)
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Fri Aug 26 18:36:11 UTC 2011 - crrodriguez@opensuse.org
|
Fri Aug 26 18:36:11 UTC 2011 - crrodriguez@opensuse.org
|
||||||
|
|
||||||
|
@ -98,14 +98,14 @@ export LDFLAGS="-Wl,-z,relro,-z,now"
|
|||||||
%if %{do_profiling}
|
%if %{do_profiling}
|
||||||
profiledir=$(mktemp -d)
|
profiledir=$(mktemp -d)
|
||||||
trap "rm -rf $profiledir" EXIT
|
trap "rm -rf $profiledir" EXIT
|
||||||
./configure --shared
|
CC="%__cc" ./configure --shared
|
||||||
%{__make} CFLAGS="$RPM_OPT_FLAGS %{cflags_profile_generate}=$profiledir" %{?_smp_mflags}
|
%{__make} CFLAGS="$RPM_OPT_FLAGS %{cflags_profile_generate}=$profiledir" %{?_smp_mflags}
|
||||||
time make check
|
time make check
|
||||||
make clean
|
make clean
|
||||||
%{__make} CFLAGS="$RPM_OPT_FLAGS %{cflags_profile_feedback}=$profiledir" %{?_smp_mflags}
|
%{__make} CFLAGS="$RPM_OPT_FLAGS %{cflags_profile_feedback}=$profiledir" %{?_smp_mflags}
|
||||||
%else
|
%else
|
||||||
export CFLAGS="%optflags"
|
export CFLAGS="%optflags"
|
||||||
./configure --shared
|
CC="%__cc" ./configure --shared
|
||||||
%{__make} %{?_smp_mflags}
|
%{__make} %{?_smp_mflags}
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user