diff options
Diffstat (limited to 'os/common/ports/ARMCMx/compilers/GCC/rules.mk')
-rw-r--r-- | os/common/ports/ARMCMx/compilers/GCC/rules.mk | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/os/common/ports/ARMCMx/compilers/GCC/rules.mk b/os/common/ports/ARMCMx/compilers/GCC/rules.mk index 1d6def961..75f9b164b 100644 --- a/os/common/ports/ARMCMx/compilers/GCC/rules.mk +++ b/os/common/ports/ARMCMx/compilers/GCC/rules.mk @@ -17,6 +17,11 @@ else LDOPT :=
endif
+# Linker extra options
+ifneq ($(USE_LDOPT),)
+ LDOPT := $(LDOPT),$(USE_LDOPT)
+endif
+
# Link time optimizations
ifeq ($(USE_LTO),yes)
OPT += -flto
|