|
|
|
|
@ -36,7 +36,7 @@ Class: CORE
|
|
|
|
|
Group: Compiler |
|
|
|
|
License: GPL |
|
|
|
|
Version: %{V_full} |
|
|
|
|
Release: 20080202 |
|
|
|
|
Release: 20080311 |
|
|
|
|
|
|
|
|
|
# package options |
|
|
|
|
%option with_binutils yes |
|
|
|
|
@ -63,8 +63,8 @@ BuildPreReq: binutils >= 2.14
|
|
|
|
|
PreReq: binutils >= 2.14 |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_fortran}" == "yes" |
|
|
|
|
BuildPreReq: mpfr |
|
|
|
|
PreReq: mpfr |
|
|
|
|
BuildPreReq: mpfr, gmp |
|
|
|
|
PreReq: mpfr, gmp |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_java}" == "yes" |
|
|
|
|
BuildPreReq: zlib |
|
|
|
|
@ -81,7 +81,7 @@ AutoReqProv: no
|
|
|
|
|
prog gcc = { |
|
|
|
|
version = %{V_full} |
|
|
|
|
url = ftp://gcc.gnu.org/pub/gcc/releases/ |
|
|
|
|
regex = (4\.2(\.\d+)?) |
|
|
|
|
regex = gcc-(4\.2(\.\d+)?) |
|
|
|
|
url = ftp://gcc.gnu.org/pub/gcc/releases/gcc-__NEWVER__/ |
|
|
|
|
regex = gcc-(__VER__)\.tar\.bz2 |
|
|
|
|
} |
|
|
|
|
@ -196,8 +196,8 @@ AutoReqProv: no
|
|
|
|
|
# at least GNU as from GNU binutils supports -pipe always |
|
|
|
|
AS="%{l_tool_locate as as}" |
|
|
|
|
"$AS" --version </dev/null 2>/dev/null | grep "^GNU assembler " >/dev/null && { |
|
|
|
|
l_boot_cflags="$l_boot_cflags -pipe"; |
|
|
|
|
l_libcxxflags="$l_libcxxflags -pipe"; |
|
|
|
|
l_boot_cflags="$l_boot_cflags -pipe" |
|
|
|
|
l_libcxxflags="$l_libcxxflags -pipe" |
|
|
|
|
} |
|
|
|
|
%if "%{with_optimize}" == "yes" |
|
|
|
|
# conservatively optimize the generated program code |
|
|
|
|
|