Explorar o código

add ppsuf so that we can compiler loongarch fpc now

Jinyang He %!s(int64=2) %!d(string=hai) anos
pai
achega
e2d86ad66a
Modificáronse 1 ficheiros con 3 adicións e 0 borrados
  1. 3 0
      Makefile.fpc

+ 3 - 0
Makefile.fpc

@@ -100,6 +100,9 @@ endif
 ifeq ($(CPU_TARGET),wasm32)
 ifeq ($(CPU_TARGET),wasm32)
 PPSUF=wasm32
 PPSUF=wasm32
 endif
 endif
+ifeq ($(CPU_TARGET),loongarch64)
+PPSUF=loongarch64
+endif
 
 
 # cross compilers uses full cpu_target, not just ppc-suffix
 # cross compilers uses full cpu_target, not just ppc-suffix
 # (except if the target cannot run a native compiler)
 # (except if the target cannot run a native compiler)