* Lowercase subtarget file, as done in compiler

This commit is contained in:
Michaël Van Canneyt 2023-07-07 10:15:39 +02:00
parent 0261a025de
commit 486f3a0c7f

View File

@ -469,7 +469,7 @@ begin
end;
if (TargetName<>'') then
begin
S:='fpc-'+TargetName+'.cfg';
S:='fpc-'+lowercase(TargetName)+'.cfg';
CfgFile:=FindConfigFile(s);
if CfgFile='' then
Error('Cannot find subtarget config file: '+s);