mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-04-08 10:48:12 +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)
|
||||
)
|
||||
) and
|
||||
not (vo_is_parentfp in tabstractnormalvarsym(p).varoptions) and
|
||||
not assigned(tabstractnormalvarsym(p).defaultconstsym);
|
||||
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
|
||||
|
||||
{$ifdef CPULLVM}
|
||||
{$define LLVM_INTERFACE_PROBLEM}
|
||||
{$endif CPULLVM}
|
||||
{$IFDEF MORPHOS}
|
||||
{$DEFINE NO_UNIT_PROCESS}
|
||||
{$DEFINE NO_THREADING}
|
||||
@ -10131,12 +10134,14 @@ Initialization
|
||||
GetPluginManager.RegisterPlugin(TfpmResolvePackagePathsPlugin);
|
||||
|
||||
Finalization
|
||||
{$ifndef LLVM_INTERFACE_PROBLEM}
|
||||
FreeAndNil(CustomFpMakeCommandlineValues);
|
||||
FreeAndNil(CustomFpmakeCommandlineOptions);
|
||||
FreeAndNil(DefInstaller);
|
||||
FreeAndNil(GlobalDictionary);
|
||||
FreeAndNil(Defaults);
|
||||
FreeAndNil(GPluginManager);
|
||||
{$endif ndef LLVM_INTERFACE_PROBLEM}
|
||||
end.
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user