summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/m32c/m32cbsp/make/custom/m32csim.cfg
blob: 9629e485c08a281ce990135c6eb12f5dcae538f3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#
#  Config file for the M32C GDB Simulator
#

include $(RTEMS_ROOT)/make/custom/default.cfg

RTEMS_CPU=m32c
RTEMS_CPU_MODEL=m32c

CPU_CFLAGS = -mcpu=m32cm

# Unreported GCC Bug results in ICE in cpu.c. Use -O0
# CFLAGS_OPTIMIZE_V = -Os -g
CFLAGS_OPTIMIZE_V = -O0 -g
CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections

LDFLAGS = -Wl,--gc-sections