summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorRalf Corsepius <ralf.corsepius@rtems.org>2011-04-20 13:36:33 +0000
committerRalf Corsepius <ralf.corsepius@rtems.org>2011-04-20 13:36:33 +0000
commit19527c6a3f5c063cabd844312a058499317460d9 (patch)
tree000d31195d965dc576bcd7c8856089af5cfae2d0 /contrib
parent2011-04-18 Joel Sherrill <joel.sherrilL@OARcorp.com> (diff)
downloadrtems-19527c6a3f5c063cabd844312a058499317460d9.tar.bz2
Eliminate $optargs
Diffstat (limited to 'contrib')
-rw-r--r--contrib/crossrpms/gcc/build.add8
1 files changed, 4 insertions, 4 deletions
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: