From 14926616514eadd9057fdce62349b82b2383660d Mon Sep 17 00:00:00 2001 From: Joel Sherrill Date: Thu, 10 Mar 2016 16:22:49 -0600 Subject: no_bsp.cfg: Add hints for CFLAGS and LDFLAGS updates #2577. --- c/src/lib/libbsp/no_cpu/no_bsp/make/custom/no_bsp.cfg | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'c/src/lib/libbsp/no_cpu/no_bsp/make/custom/no_bsp.cfg') diff --git a/c/src/lib/libbsp/no_cpu/no_bsp/make/custom/no_bsp.cfg b/c/src/lib/libbsp/no_cpu/no_bsp/make/custom/no_bsp.cfg index 8c98f8b5cf..944ebd9b99 100644 --- a/c/src/lib/libbsp/no_cpu/no_bsp/make/custom/no_bsp.cfg +++ b/c/src/lib/libbsp/no_cpu/no_bsp/make/custom/no_bsp.cfg @@ -7,4 +7,8 @@ include $(RTEMS_ROOT)/make/custom/default.cfg RTEMS_CPU=no_cpu RTEMS_CPU_MODEL=no_cpu_model -# Miscellaneous additions go here +# Miscellaneous additions go here. Typical options usually look like +CFLAGS_OPTIMIZE_V += -O2 -g +CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections + +LDFLAGS = -Wl,--gc-sections -- cgit v1.2.3