* 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; end;
if (TargetName<>'') then if (TargetName<>'') then
begin begin
S:='fpc-'+TargetName+'.cfg'; S:='fpc-'+lowercase(TargetName)+'.cfg';
CfgFile:=FindConfigFile(s); CfgFile:=FindConfigFile(s);
if CfgFile='' then if CfgFile='' then
Error('Cannot find subtarget config file: '+s); Error('Cannot find subtarget config file: '+s);