diff options
author | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2015-08-28 22:31:17 +0000 |
---|---|---|
committer | jonas <jonas@3ad0048d-3df7-0310-abae-a5850022a9f2> | 2015-08-28 22:31:17 +0000 |
commit | 26052b236a2a9646c680763ae11aaec1a5eab5f1 (patch) | |
tree | 0a9f553f85aaaae89c26b0c3dd6503a416cc980d /compiler/scandir.pas | |
parent | cd2d531b2e502a80626511df433d4ca7933f9d67 (diff) | |
download | fpc-26052b236a2a9646c680763ae11aaec1a5eab5f1.tar.gz |
* changed paratargetdbg from a global variable into a field of toption
git-svn-id: http://svn.freepascal.org/svn/fpc/trunk@31443 3ad0048d-3df7-0310-abae-a5850022a9f2
Diffstat (limited to 'compiler/scandir.pas')
-rw-r--r-- | compiler/scandir.pas | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/scandir.pas b/compiler/scandir.pas index 4f3bfdca09..cec89b7af7 100644 --- a/compiler/scandir.pas +++ b/compiler/scandir.pas @@ -1203,7 +1203,7 @@ unit scandir; procedure dir_smartlink; begin do_moduleswitch(cs_create_smart); - if (paratargetdbg in [dbg_dwarf2,dbg_dwarf3]) and + if (target_dbg.id in [dbg_dwarf2,dbg_dwarf3]) 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 |