mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-12 21:10:01 +02:00
Only set llvm to true if LLVM custom option variable is set, but not to false if not (as true might be the default value)
git-svn-id: trunk@49534 -
This commit is contained in:
parent
125dbdc21c
commit
615e1c0431
@ -203,9 +203,7 @@ begin
|
|||||||
begin
|
begin
|
||||||
s:=GetCustomFpmakeCommandlineOptionValue('LLVM');
|
s:=GetCustomFpmakeCommandlineOptionValue('LLVM');
|
||||||
if (s='1') or (s='Y') then
|
if (s='1') or (s='Y') then
|
||||||
llvm:=true
|
llvm:=true;
|
||||||
else
|
|
||||||
llvm:=false;
|
|
||||||
end;
|
end;
|
||||||
{ Only try to build natively }
|
{ Only try to build natively }
|
||||||
{ or for cross-compile if the resulting executable
|
{ or for cross-compile if the resulting executable
|
||||||
|
Loading…
Reference in New Issue
Block a user