Browse Source

Fix other arch build in detect.

When CORE is empty, use -march=loongson3a. Fix it.

Signed-off-by: Han Gao <gaohan@uniontech.com>
tags/v0.3.21
Han Gao 3 years ago
parent
commit
3fc52ebcfb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      Makefile.system

+ 1
- 1
Makefile.system View File

@@ -847,7 +847,7 @@ CCOMMON_OPT += -mabi=32
BINARY_DEFINED = 1
endif

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


Loading…
Cancel
Save