diff --git a/tcl.changes b/tcl.changes index 48f2108..f7fa63b 100644 --- a/tcl.changes +++ b/tcl.changes @@ -1,3 +1,8 @@ +------------------------------------------------------------------- +Mon May 17 07:27:55 UTC 2010 - bg@novell.com + +- Disable stack check for hppa to fix build. + ------------------------------------------------------------------- Fri Feb 19 19:36:17 CET 2010 - max@suse.de diff --git a/tcl.spec b/tcl.spec index 7ef8d19..400411c 100644 --- a/tcl.spec +++ b/tcl.spec @@ -21,7 +21,7 @@ Name: tcl Url: http://www.tcl.tk Version: 8.5.8 -Release: 3 +Release: 4 %define TCL_MINOR %(echo %version | cut -c1-3) BuildRoot: %{_tmppath}/%{name}-%{version}-build Summary: The Tcl Programming Language @@ -102,7 +102,11 @@ cd unix MAKE='make %{?jobs:-j%jobs} TCL_LIBRARY="%scriptdir/tcl%TCL_MINOR" TCL_PACKAGE_PATH="%_libdir/tcl %_datadir/tcl" +%ifnarch hppa CFLAGS="%optflags $PFLAGS" +%else + CFLAGS="%optflags $PFLAGS -DTCL_NO_STACK_CHECK=1" +%endif LDFLAGS_OPTIMIZE="%optflags $PFLAGS" SHLIB_LD="gcc -shared %optflags $PFLAGS"' # Build with instrumentation for profiling