summaryrefslogtreecommitdiffstats
path: root/rtems/config/tools/rtems-gcc-4.7.2-newlib-2.0.0-1.cfg
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2013-03-05 14:30:31 +1100
committerChris Johns <chrisj@rtems.org>2013-03-05 14:30:31 +1100
commitb521098ad6fbaff033e1dc0473c8cfe0ab47dbce (patch)
tree62dc963076471ca9dfc3e57e4062958dd5f86645 /rtems/config/tools/rtems-gcc-4.7.2-newlib-2.0.0-1.cfg
parentAdd missing unstable targets. Fix comments. (diff)
downloadrtems-source-builder-b521098ad6fbaff033e1dc0473c8cfe0ab47dbce.tar.bz2
Clean up the per target C/C++ handling.
Diffstat (limited to 'rtems/config/tools/rtems-gcc-4.7.2-newlib-2.0.0-1.cfg')
-rw-r--r--rtems/config/tools/rtems-gcc-4.7.2-newlib-2.0.0-1.cfg23
1 files changed, 1 insertions, 22 deletions
diff --git a/rtems/config/tools/rtems-gcc-4.7.2-newlib-2.0.0-1.cfg b/rtems/config/tools/rtems-gcc-4.7.2-newlib-2.0.0-1.cfg
index 8c840b6..4dc2430 100644
--- a/rtems/config/tools/rtems-gcc-4.7.2-newlib-2.0.0-1.cfg
+++ b/rtems/config/tools/rtems-gcc-4.7.2-newlib-2.0.0-1.cfg
@@ -15,32 +15,11 @@
%define with_plugin 0
%define with_iconv 1
-#
-# AVR C++ does not work.
-# configure: error: unable to detect exception model
-#
-%if %{_target} == avr-rtems4.11
-%define enable_cxx 0
-%endif
-
-#
-# M32C C++ does not work.
-# gcc-4.7.2/libstdc++-v3/src/mt_allocator.cc:76: error: cast from 'void*' to 'size_t' loses precision
-#
-%if %{_target} == m32c-rtems4.11
-%define enable_cxx 0
-%endif
-
%ifn %{defined enable_cxx}
%define enable_cxx 1
%endif
-#
-# If arm-rtems4.11 add --enable-obsolete.
-#
-%if %{_target} == arm-rtems4.11
-%define enable_obsolete 1
-%else
+%ifn %{defined enable_obsolete}
%define enable_obsolete 0
%endif