Browse Source

* Lowercase subtarget file, as done in compiler

Michaël Van Canneyt 2 năm trước cách đây
mục cha
commit
486f3a0c7f
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      compiler/utils/fpc.pp

+ 1 - 1
compiler/utils/fpc.pp

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