diff options
author | Joel Sherrill <joel@rtems.org> | 2016-03-10 16:22:49 -0600 |
---|---|---|
committer | Joel Sherrill <joel@rtems.org> | 2016-03-10 18:10:17 -0600 |
commit | 14926616514eadd9057fdce62349b82b2383660d (patch) | |
tree | af4e2fff133f938266b9a22348db86bccb778d26 /c/src/lib | |
parent | nios2/nios2_iss: Add per-section compilation and linking support (diff) | |
download | rtems-14926616514eadd9057fdce62349b82b2383660d.tar.bz2 |
no_bsp.cfg: Add hints for CFLAGS and LDFLAGS
updates #2577.
Diffstat (limited to 'c/src/lib')
-rw-r--r-- | c/src/lib/libbsp/no_cpu/no_bsp/make/custom/no_bsp.cfg | 6 |
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 |