Explorar o código

* Lowercase subtarget file, as done in compiler

Michaël Van Canneyt %!s(int64=2) %!d(string=hai) anos
pai
achega
486f3a0c7f
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      compiler/utils/fpc.pp

+ 1 - 1
compiler/utils/fpc.pp

@@ -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);