summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorChad Elliott <elliottc@objectcomputing.com>2019-05-21 06:16:57 -0500
committerChad Elliott <elliottc@objectcomputing.com>2019-05-21 06:16:57 -0500
commitfcd7dcf915e0ea7d0210124a7770dcbcf89f38dd (patch)
treee17b24559c9f5a00c2341b29dbb563b73f9fd94a /templates
parentc2c20c97a3441ea05df3cf05aeed96e8c0c59996 (diff)
downloadMPC-fcd7dcf915e0ea7d0210124a7770dcbcf89f38dd.tar.gz
Tue May 21 11:16:16 UTC 2019 Chad Elliott <elliott_c@ociweb.com>
* templates/iar.mpd: Added support for the 'linkflags' template variable.
Diffstat (limited to 'templates')
-rw-r--r--templates/iar.mpd9
1 files changed, 6 insertions, 3 deletions
diff --git a/templates/iar.mpd b/templates/iar.mpd
index e7d1ad81..53a571aa 100644
--- a/templates/iar.mpd
+++ b/templates/iar.mpd
@@ -815,9 +815,12 @@
</option>
<option>
<name>IlinkExtraOptions</name>
- <state> --redirect __iar_dlmalloc=malloc</state>
- <state> --redirect __iar_dlcalloc=calloc</state>
- <state> --redirect __iar_dlfree=free</state>
+ <state>--redirect __iar_dlmalloc=malloc</state>
+ <state>--redirect __iar_dlcalloc=calloc</state>
+ <state>--redirect __iar_dlfree=free</state>
+<%foreach(linkflags)%>
+ <state><%linkflag%></state>
+<%endfor%>
<%foreach(libpaths)%>
<state>-L<%full_path(libpath)%></state>
<%endfor%>