File project1.diff of Package tcl
--- tcl.spec.orig +++ tcl.spec @@ -101,7 +101,10 @@ MAKE='make %{?jobs:-j%jobs} LDFLAGS_OPTIMIZE="%optflags $PFLAGS" SHLIB_LD="gcc -shared %optflags $PFLAGS"' # Build with instrumentation for profiling +%if 0%{stage1} +%else PFLAGS="%cflags_profile_generate" +%endif eval $MAKE # Some of the regressioin tests write to $HOME, so better redirect them mkdir home