소스 검색

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