diff --git a/tcl.changes b/tcl.changes index d1ea690..e8883b2 100644 --- a/tcl.changes +++ b/tcl.changes @@ -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 diff --git a/tcl.spec b/tcl.spec index 8ebf860..c7edeff 100644 --- a/tcl.spec +++ b/tcl.spec @@ -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