Ver Fonte

* Fix compilation for ARM

Michaël Van Canneyt há 2 anos atrás
pai
commit
188fc9c112
1 ficheiros alterados com 1 adições e 1 exclusões
  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