mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-13 13:29:27 +02:00
+ allow smartlinking and dwarf debug info at the same time for i8086-msdos
git-svn-id: trunk@25872 -
This commit is contained in:
parent
90a092e585
commit
93a706f1a0
@ -2678,7 +2678,7 @@ end;
|
||||
procedure TOption.checkoptionscompatibility;
|
||||
begin
|
||||
if (paratargetdbg in [dbg_dwarf2,dbg_dwarf3]) and
|
||||
not(target_info.system in systems_darwin) then
|
||||
not(target_info.system in (systems_darwin+[system_i8086_msdos])) then
|
||||
begin
|
||||
{ smartlink creation does not yet work with DWARF
|
||||
debug info on most targets, but it works in internal assembler }
|
||||
|
@ -1146,7 +1146,7 @@ unit scandir;
|
||||
begin
|
||||
do_moduleswitch(cs_create_smart);
|
||||
if (paratargetdbg in [dbg_dwarf2,dbg_dwarf3]) and
|
||||
not(target_info.system in systems_darwin) and
|
||||
not(target_info.system in (systems_darwin+[system_i8086_msdos])) and
|
||||
{ smart linking does not yet work with DWARF debug info on most targets }
|
||||
(cs_create_smart in current_settings.moduleswitches) and
|
||||
not (af_outputbinary in target_asm.flags) then
|
||||
|
Loading…
Reference in New Issue
Block a user