mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-22 14:09:23 +02:00
Disable finalisation code fro LLVM compiler to avoid interface finalisation troubles
This commit is contained in:
parent
a27bc236a0
commit
0e142c00cc
@ -787,6 +787,7 @@ implementation
|
|||||||
(vo_is_funcret in tabstractnormalvarsym(p).varoptions)
|
(vo_is_funcret in tabstractnormalvarsym(p).varoptions)
|
||||||
)
|
)
|
||||||
) and
|
) and
|
||||||
|
not (vo_is_parentfp in tabstractnormalvarsym(p).varoptions) and
|
||||||
not assigned(tabstractnormalvarsym(p).defaultconstsym);
|
not assigned(tabstractnormalvarsym(p).defaultconstsym);
|
||||||
end;
|
end;
|
||||||
|
|
||||||
|
BIN
packages/fpmake-llvm
Executable file
BIN
packages/fpmake-llvm
Executable file
Binary file not shown.
BIN
packages/fpmake-reg
Executable file
BIN
packages/fpmake-reg
Executable file
Binary file not shown.
@ -28,6 +28,9 @@ unit fpmkunit;
|
|||||||
|
|
||||||
Interface
|
Interface
|
||||||
|
|
||||||
|
{$ifdef CPULLVM}
|
||||||
|
{$define LLVM_INTERFACE_PROBLEM}
|
||||||
|
{$endif CPULLVM}
|
||||||
{$IFDEF MORPHOS}
|
{$IFDEF MORPHOS}
|
||||||
{$DEFINE NO_UNIT_PROCESS}
|
{$DEFINE NO_UNIT_PROCESS}
|
||||||
{$DEFINE NO_THREADING}
|
{$DEFINE NO_THREADING}
|
||||||
@ -10131,12 +10134,14 @@ Initialization
|
|||||||
GetPluginManager.RegisterPlugin(TfpmResolvePackagePathsPlugin);
|
GetPluginManager.RegisterPlugin(TfpmResolvePackagePathsPlugin);
|
||||||
|
|
||||||
Finalization
|
Finalization
|
||||||
|
{$ifndef LLVM_INTERFACE_PROBLEM}
|
||||||
FreeAndNil(CustomFpMakeCommandlineValues);
|
FreeAndNil(CustomFpMakeCommandlineValues);
|
||||||
FreeAndNil(CustomFpmakeCommandlineOptions);
|
FreeAndNil(CustomFpmakeCommandlineOptions);
|
||||||
FreeAndNil(DefInstaller);
|
FreeAndNil(DefInstaller);
|
||||||
FreeAndNil(GlobalDictionary);
|
FreeAndNil(GlobalDictionary);
|
||||||
FreeAndNil(Defaults);
|
FreeAndNil(Defaults);
|
||||||
FreeAndNil(GPluginManager);
|
FreeAndNil(GPluginManager);
|
||||||
|
{$endif ndef LLVM_INTERFACE_PROBLEM}
|
||||||
end.
|
end.
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user