mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-11 10:26:05 +02:00
* fixed setting up the global switch for main programs without a "program"
header on platforms not in systems_unit_program_exports git-svn-id: trunk@26975 -
This commit is contained in:
parent
2388575d3b
commit
009c96a0bd
@ -2029,9 +2029,10 @@ type
|
||||
|
||||
consume(_SEMICOLON);
|
||||
end
|
||||
else if (target_info.system in systems_unit_program_exports) then
|
||||
else
|
||||
begin
|
||||
exportlib.preparelib(current_module.realmodulename^);
|
||||
if (target_info.system in systems_unit_program_exports) then
|
||||
exportlib.preparelib(current_module.realmodulename^);
|
||||
|
||||
{ setup things using the switches }
|
||||
setupglobalswitches;
|
||||
|
Loading…
Reference in New Issue
Block a user