瀏覽代碼

* Lowercase subtarget file, as done in compiler

Michaël Van Canneyt 2 年之前
父節點
當前提交
486f3a0c7f
共有 1 個文件被更改,包括 1 次插入1 次删除
  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);