|
|
|
@ -46,7 +46,7 @@ Release: 20050724
|
|
|
|
|
%option with_cxx yes |
|
|
|
|
%option with_objc no |
|
|
|
|
%option with_java no |
|
|
|
|
%option with_f77 no |
|
|
|
|
%option with_fortran no |
|
|
|
|
%option with_optimize no |
|
|
|
|
%option with_profile no |
|
|
|
|
%option with_binutils yes |
|
|
|
@ -66,6 +66,10 @@ PreReq: OpenPKG, openpkg >= 20040130
|
|
|
|
|
BuildPreReq: binutils >= 2.14 |
|
|
|
|
PreReq: binutils >= 2.14 |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_fortran}" == "yes" |
|
|
|
|
BuildPreReq: mpfr |
|
|
|
|
PreReq: mpfr |
|
|
|
|
%endif |
|
|
|
|
AutoReq: no |
|
|
|
|
AutoReqProv: no |
|
|
|
|
%if "%{with_gcc}" == "yes" |
|
|
|
@ -140,8 +144,8 @@ Provides: gcc = %{version}-%{release}
|
|
|
|
|
%if "%{with_java}" == "yes" |
|
|
|
|
l_enable_languages="${l_enable_languages},java" |
|
|
|
|
%endif |
|
|
|
|
%if "%{with_f77}" == "yes" |
|
|
|
|
l_enable_languages="${l_enable_languages},f77" |
|
|
|
|
%if "%{with_fortran}" == "yes" |
|
|
|
|
l_enable_languages="${l_enable_languages},f95" |
|
|
|
|
%endif |
|
|
|
|
|
|
|
|
|
# disable GNU iconv usage |
|
|
|
@ -152,6 +156,7 @@ Provides: gcc = %{version}-%{release}
|
|
|
|
|
# configure the package |
|
|
|
|
CC="%{l_cc}" \ |
|
|
|
|
CFLAGS="%{l_cflags}" \ |
|
|
|
|
CPPFLAGS="%{l_cppflags}" \ |
|
|
|
|
CONFIG_SHELL="%{l_bash}" \ |
|
|
|
|
../configure \ |
|
|
|
|
--cache-file=./config.cache \ |
|
|
|
|