Przeglądaj źródła

+ 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 lat temu
rodzic
commit
b7bfac11cb
1 zmienionych plików z 2 dodań i 0 usunięć
  1. 2 0
      compiler/options.pas

+ 2 - 0
compiler/options.pas

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