gcc/gcc.spec

changeset 755
192d78fefb97
parent 561
43c9880b7136
child 771
7173ebcfc87e
equal deleted inserted replaced
14:f7a684d2cab7 15:a42d904cde28
215 %endif 215 %endif
216 216
217 # disable GNU iconv use 217 # disable GNU iconv use
218 ( echo "am_cv_func_iconv=no" 218 ( echo "am_cv_func_iconv=no"
219 echo "am_cv_lib_iconv=no" 219 echo "am_cv_lib_iconv=no"
220 echo "gcc_cv_prog_cmp_skip=true"
220 ) >config.cache 221 ) >config.cache
221 # platforms failing 'compare' make target (see prep as well)
222 case "%{l_platform -t}" in
223 *i?86-sunos* ) echo "gcc_cv_prog_cmp_skip=true" >>config.cache ;;
224 *amd64-sunos* ) echo "gcc_cv_prog_cmp_skip=true" >>config.cache ;;
225 *amd64-linux* ) echo "gcc_cv_prog_cmp_skip=true" >>config.cache ;;
226 esac
227 222
228 # configure the package 223 # configure the package
229 LD="$LD" \ 224 LD="$LD" \
230 AS="$AS" \ 225 AS="$AS" \
231 CC="%{l_cc}" \ 226 CC="%{l_cc}" \
327 loc_makeflags="%{l_mflags}" 322 loc_makeflags="%{l_mflags}"
328 323
329 # warn about exceptional build duration for profile feedback 324 # warn about exceptional build duration for profile feedback
330 ( echo "Building profile feedback on some hosts can take many days to complete!" 325 ( echo "Building profile feedback on some hosts can take many days to complete!"
331 echo "Now continuing to build a profiled bootstrap with parallel make logic" 326 echo "Now continuing to build a profiled bootstrap with parallel make logic"
332 echo "disabled according to profiling requirements as specified on page:" 327 echo "disabled according to profiling requirements..."
333 echo ""
334 echo " http://gcc.gnu.org/install/build.html#TOC4"
335 ) | %{l_rpmtool} msg -b -t warn 328 ) | %{l_rpmtool} msg -b -t warn
336 329
337 # warn about profiled bootstrap requirement of 64-bit arithmetic 330 # warn about profiled bootstrap requirement of 64-bit arithmetic
338 if [ ".$l_ccisgcc" != .yes ]; then 331 if [ ".$l_ccisgcc" != .yes ]; then
339 ( echo "" 332 ( echo "A preinstalled GCC was not detected although one is recommended for"
340 echo "A preinstalled GCC was not detected although one is recommended for"
341 echo "building a profiled bootstrap. Buildtime or runtime errors can occur if" 333 echo "building a profiled bootstrap. Buildtime or runtime errors can occur if"
342 echo "the compiler used to build profile feedback doesn't support 64-bit math." 334 echo "the compiler used to build profile feedback doesn't support 64-bit math."
343 echo "" 335 echo ""
344 echo "If in doubt, stop now and start the build again with profiling disabled." 336 echo "If in doubt, stop now and start the build again with profiling disabled."
345 ) | %{l_rpmtool} msg -b -t warn 337 ) | %{l_rpmtool} msg -b -t warn

mercurial