SHA256
3
0
forked from pool/tcl

Accepting request 86661 from home:uli_suse:branches:devel:languages:tcl

- cross-build fix: use %__cc macro

OBS-URL: https://build.opensuse.org/request/show/86661
OBS-URL: https://build.opensuse.org/package/show/devel:languages:tcl/tcl?expand=0&rev=44
This commit is contained in:
Reinhard Max 2011-10-06 08:13:09 +00:00 committed by Git OBS Bridge
parent a46002f2d7
commit 2000e1da2d
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

View File

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