From b0226910269ce1de2496daa858c992aed5099d3c Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Mon, 15 Apr 2013 17:01:30 +1000 Subject: [PATCH] Override the target build flags. --- rtems/config/4.11/rtems-m32c.bset | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/rtems/config/4.11/rtems-m32c.bset b/rtems/config/4.11/rtems-m32c.bset index f922adb..2a17e53 100644 --- a/rtems/config/4.11/rtems-m32c.bset +++ b/rtems/config/4.11/rtems-m32c.bset @@ -18,6 +18,13 @@ # %define enable_cxx 0 +# +# Set the build flags to work around the defaults in the +# compiler that cause ICE. +# +%define _targetcflags -g -O2 +%define _targetcxxflags -g -O2 + # # Tools configuration. #