Move LoongArch make rules to Makefile.loongarch64

This commit is contained in:
WANG Xuerui 2022-05-13 15:26:33 +08:00
parent d0ba257de0
commit 5af7b8638b
No known key found for this signature in database
GPG Key ID: 83EF2D9C2A5D6927
2 changed files with 3 additions and 7 deletions

View File

@ -1,3 +1,4 @@
ifdef BINARY64 ifeq ($(CORE), LOONGSON3R5)
else CCOMMON_OPT += -march=loongarch64 -mabi=lp64
FCOMMON_OPT += -march=loongarch64 -mabi=lp64
endif endif

View File

@ -895,11 +895,6 @@ ifeq ($(OSNAME), AIX)
BINARY_DEFINED = 1 BINARY_DEFINED = 1
endif endif
ifeq ($(ARCH), loongarch64)
CCOMMON_OPT += -march=loongarch64 -mabi=lp64
FCOMMON_OPT += -march=loongarch64 -mabi=lp64
endif
endif endif
ifndef BINARY_DEFINED ifndef BINARY_DEFINED