+ New option -Xn to use native linker, used for solaris targets

git-svn-id: trunk@14269 -
This commit is contained in:
pierre 2009-11-24 22:49:06 +00:00
parent 80fc5f05dc
commit 728899606b
2 changed files with 10 additions and 1 deletions

View File

@ -155,7 +155,8 @@ interface
cs_link_nolink,cs_link_static,cs_link_smart,cs_link_shared,cs_link_deffile,
cs_link_strip,cs_link_staticflag,cs_link_on_target,cs_link_extern,cs_link_opt_vtable,
cs_link_opt_used_sections,cs_link_separate_dbg_file,
cs_link_map,cs_link_pthread,cs_link_no_default_lib_order
cs_link_map,cs_link_pthread,cs_link_no_default_lib_order,
cs_link_native
);
tglobalswitches = set of tglobalswitch;

View File

@ -1617,6 +1617,14 @@ begin
else
exclude(init_settings.globalswitches,cs_link_extern);
end;
'n' :
begin
If UnsetBool(More, j) then
include(init_settings.globalswitches,cs_link_native)
else
exclude(init_settings.globalswitches,cs_link_native);
end;
'm' :
begin
If UnsetBool(More, j) then