Accepting request 86876 from devel:languages:tcl

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

OBS-URL: https://build.opensuse.org/request/show/86876
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/tcl?expand=0&rev=31
This commit is contained in:
Ruediger Oertel 2011-10-06 14:46:10 +00:00 committed by Git OBS Bridge
commit 0de003de39
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
-------------------------------------------------------------------
Tue Oct 4 13:08:26 UTC 2011 - uli@suse.com
- cross-build fix: use %__cc macro
------------------------------------------------------------------- -------------------------------------------------------------------
Thu Jun 30 15:50:01 UTC 2011 - max@novell.com Thu Jun 30 15:50:01 UTC 2011 - max@novell.com

View File

@ -107,9 +107,9 @@ MAKE='make %{?jobs:-j%jobs}
CFLAGS="%optflags $PFLAGS -DTCL_NO_STACK_CHECK=1" CFLAGS="%optflags $PFLAGS -DTCL_NO_STACK_CHECK=1"
%endif %endif
LDFLAGS_OPTIMIZE="%optflags $PFLAGS" LDFLAGS_OPTIMIZE="%optflags $PFLAGS"
SHLIB_LD="gcc -shared %optflags $PFLAGS"' SHLIB_LD="%__cc -shared %optflags $PFLAGS"'
# Build with instrumentation for profiling # Build with instrumentation for profiling
PFLAGS="%cflags_profile_generate" PFLAGS="%{?cflags_profile_generate}"
eval $MAKE eval $MAKE
# Some of the regressioin tests write to $HOME, so better redirect them # Some of the regressioin tests write to $HOME, so better redirect them
mkdir home mkdir home