aboutsummaryrefslogtreecommitdiffstats
path: root/testhal/common
diff options
context:
space:
mode:
authorgdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-02-26 09:25:35 +0000
committergdisirio <gdisirio@35acf78f-673a-0410-8e92-d51de3d6d3f4>2014-02-26 09:25:35 +0000
commitb0610b61ecafcd9e72b88bc8ec392480a593977e (patch)
treea2cba86c9e89cda8ee6fa28381bb1817674a04e2 /testhal/common
parent3905e05414651361cd6589eddb93899d12f35839 (diff)
downloadChibiOS-b0610b61ecafcd9e72b88bc8ec392480a593977e.tar.gz
ChibiOS-b0610b61ecafcd9e72b88bc8ec392480a593977e.tar.bz2
ChibiOS-b0610b61ecafcd9e72b88bc8ec392480a593977e.zip
Added linker options to makefiles.
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/branches/kernel_3_dev@6727 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'testhal/common')
-rw-r--r--testhal/common/testbuild/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/testhal/common/testbuild/Makefile b/testhal/common/testbuild/Makefile
index 992a43ffe..ce5346949 100644
--- a/testhal/common/testbuild/Makefile
+++ b/testhal/common/testbuild/Makefile
@@ -23,6 +23,11 @@ ifeq ($(USE_LINK_GC),)
USE_LINK_GC = yes
endif
+# Linker extra options here.
+ifeq ($(USE_LDOPT),)
+ USE_LDOPT =
+endif
+
# Enable this if you want link time optimizations (LTO)
ifeq ($(USE_LTO),)
USE_LTO = yes