--- a/sbsv2/raptor/lib/flm/tools.xml Tue Jan 12 10:53:30 2010 +0000
+++ b/sbsv2/raptor/lib/flm/tools.xml Tue Jan 12 17:23:46 2010 +0000
@@ -43,6 +43,7 @@
<param name='OPT.l'/>
<param name='STATICLIBRARY'/>
<param name='TARGETTYPE' default="EXE"/>
+ <param name='LINKER_OPTIONS' default=''/>
</interface>
<interface name="Tools.lib" extends="Tools.common" flm="tools2lib.flm">
--- a/sbsv2/raptor/lib/flm/tools2exe.flm Tue Jan 12 10:53:30 2010 +0000
+++ b/sbsv2/raptor/lib/flm/tools2exe.flm Tue Jan 12 17:23:46 2010 +0000
@@ -52,7 +52,7 @@
define tools2linkexe
$(EXETARGET): $(OBJECTFILES) $(STATICLIBS)
$(call startrule,tools2linkexe) \
- $(LINKER) $(CFLAGS) $(LFLAGS) $(OPT.O)"$(EXETARGET)" $(call dblquote,$(OBJECTFILES)) $(LLIBS) \
+ $(LINKER) $(CFLAGS) $(LFLAGS) $(OPT.O)"$(EXETARGET)" $(call dblquote,$(OBJECTFILES)) $(LLIBS) $(LINKER_OPTIONS) \
$(if $(SAVESPACE),; $(GNURM) -rf $(OUTPUTPATH); true,) \
$(call endrule,tools2linkexe)