mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-12-16 01:50:38 +01:00
Fix problem in handling of tf_pic_default
git-svn-id: trunk@29140 -
This commit is contained in:
parent
854fa1d4b9
commit
5c48eb2d96
@ -2914,11 +2914,11 @@ begin
|
||||
undef_system_macro('FPC_SECTION_THREADVARS');
|
||||
|
||||
{ Code generation flags }
|
||||
if def and
|
||||
(tf_pic_default in target_info.flags) then
|
||||
include(init_settings.moduleswitches,cs_create_pic)
|
||||
else
|
||||
exclude(init_settings.moduleswitches,cs_create_pic);
|
||||
if (tf_pic_default in target_info.flags) then
|
||||
if def then
|
||||
include(init_settings.moduleswitches,cs_create_pic)
|
||||
else
|
||||
exclude(init_settings.moduleswitches,cs_create_pic);
|
||||
|
||||
{ Resources support }
|
||||
if (tf_has_winlike_resources in target_info.flags) then
|
||||
|
||||
Loading…
Reference in New Issue
Block a user