소스 검색

* Fix compilation for ARM

Michaël Van Canneyt 2 년 전
부모
커밋
188fc9c112
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      compiler/options.pas

+ 1 - 1
compiler/options.pas

@@ -2526,7 +2526,7 @@ begin
 {$ifdef arm}
        'I' :
          begin
-           if (upper(copy(more,j+1)='THUMB') and
+           if (upper(copy(more,j+1))='THUMB') and
              { does selected CPU really understand thumb? }
              (init_settings.cputype in cpu_has_thumb) then
              init_settings.instructionset:=is_thumb