DPDEF143051 Raptor doesn't process the LINKEROPTION keyword as Abld does fix
authoryiluzhu
Tue, 12 Jan 2010 17:23:46 +0000
branchfix
changeset 109 52e5ae7bfcfe
parent 54 622c1ddc0579
child 111 f0800c70aa13
DPDEF143051 Raptor doesn't process the LINKEROPTION keyword as Abld does
sbsv2/raptor/lib/flm/tools.xml
sbsv2/raptor/lib/flm/tools2exe.flm
--- 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)