summaryrefslogtreecommitdiffstats
path: root/c/src/lib/libbsp/no_cpu/no_bsp/make/custom/no_bsp.cfg
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--c/src/lib/libbsp/no_cpu/no_bsp/make/custom/no_bsp.cfg6
1 files changed, 5 insertions, 1 deletions
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