+ enable using the i8086 internal linker with debug info, if the compiler is

compiled with -di8086_link_intern_debuginfo

git-svn-id: trunk@39221 -
This commit is contained in:
nickysn 2018-06-14 15:24:39 +00:00
parent 5b47bad32a
commit b7bfac11cb

View File

@ -3213,6 +3213,7 @@ begin
end;
{$endif i8086}
{$ifndef i8086_link_intern_debuginfo}
if (cs_debuginfo in init_settings.moduleswitches) and
(target_info.system in [system_i8086_msdos,system_i8086_win16,system_i8086_embedded]) and
not (cs_link_extern in init_settings.globalswitches) then
@ -3220,6 +3221,7 @@ begin
Message(option_debug_info_requires_external_linker);
include(init_settings.globalswitches,cs_link_extern);
end;
{$endif i8086_link_intern_debuginfo}
if (paratargetdbg in [dbg_dwarf2,dbg_dwarf3]) and
not(target_info.system in (systems_darwin+[system_i8086_msdos,system_i8086_embedded])) then