* don't make all procdef symbols global if we are using section-based

smartlinkin

git-svn-id: trunk@32803 -
This commit is contained in:
Jonas Maebe 2015-12-30 21:55:32 +00:00
parent 81381cfbb4
commit 8164d5aaf4

View File

@ -2091,7 +2091,7 @@ implementation
if (not current_module.in_interface) then
include(pdflags,pd_implemen);
if (not current_module.is_unit) or
create_smartlink then
create_smartlink_library then
include(pd.procoptions,po_global);
pd.forwarddef:=false;
end;