Skip to content

Commit 3fc52eb

Browse files
committed
Fix other arch build in detect.
When CORE is empty, use -march=loongson3a. Fix it. Signed-off-by: Han Gao <gaohan@uniontech.com>
1 parent ee42445 commit 3fc52eb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile.system

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@ CCOMMON_OPT += -mabi=32
847847
BINARY_DEFINED = 1
848848
endif
849849

850-
ifeq ($(CORE), $(filter $(CORE),LOONGSON3R3 LOONGSON3R4))
850+
ifneq (, $(filter $(CORE),LOONGSON3R3 LOONGSON3R4))
851851
CCOMMON_OPT += -march=loongson3a
852852
FCOMMON_OPT += -march=loongson3a
853853
endif

0 commit comments

Comments
 (0)