Browse Source

* correct tripletcpustr, resolves #40301

florian 2 năm trước cách đây
mục cha
commit
52147baa04
1 tập tin đã thay đổi với 1 bổ sung4 xóa
  1. 1 4
      compiler/riscv64/tripletcpu.pas

+ 1 - 4
compiler/riscv64/tripletcpu.pas

@@ -37,10 +37,7 @@ uses
 
 
 function tripletcpustr(tripletstyle: ttripletstyle): ansistring;
 function tripletcpustr(tripletstyle: ttripletstyle): ansistring;
   begin
   begin
-    if tripletstyle=triplet_llvm then
-      result:='sparcv9'
-    else
-      result:='sparc64'
+    result:='riscv64'
   end;
   end;