Pārlūkot izejas kodu

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

git-svn-id: trunk@39221 -

nickysn 7 gadi atpakaļ
vecāks
revīzija
b7bfac11cb
1 mainītis faili ar 2 papildinājumiem un 0 dzēšanām
  1. 2 0
      compiler/options.pas

+ 2 - 0
compiler/options.pas

@@ -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