From 19527c6a3f5c063cabd844312a058499317460d9 Mon Sep 17 00:00:00 2001 From: Ralf Corsepius Date: Wed, 20 Apr 2011 13:36:33 +0000 Subject: Eliminate $optargs --- contrib/crossrpms/gcc/build.add | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'contrib') diff --git a/contrib/crossrpms/gcc/build.add b/contrib/crossrpms/gcc/build.add index 024731939a..b6b55b80e7 100644 --- a/contrib/crossrpms/gcc/build.add +++ b/contrib/crossrpms/gcc/build.add @@ -22,9 +22,6 @@ %if %build_gnat languages="$languages,ada" %endif -%if %build_libgcj - optargs="--enable-libgcj" -%endif %if "%{_prefix}" != "/usr" export PATH="%{_bindir}:${PATH}" %endif @@ -61,7 +58,10 @@ %if %build_newlib --enable-newlib-io-c99-formats \ %endif - --enable-languages="$languages" $optargs +%if %build_libgcj + --enable-libgcj \ +%endif + --enable-languages="$languages" %if "%_host" != "%_build" # Bug in gcc-3.2.1: -- cgit v1.2.3