Browse Source

Update Makefile.arm64

Added -march and -mtune flags for EMAG processors when GCC 9 or later
tags/v0.3.16^2
Noan GitHub 4 years ago
parent
commit
32264ba496
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 9 additions and 0 deletions
  1. +9
    -0
      Makefile.arm64

+ 9
- 0
Makefile.arm64 View File

@@ -107,4 +107,13 @@ FCOMMON_OPT += -march=armv8.2-a -mtune=tsv110
endif
endif
endif

ifeq ($(GCCVERSIONGTEQ9), 1)
ifeq ($(CORE), EMAG8180)
CCOMMON_OPT += -march=armv8-a -mtune=emag
ifneq ($(F_COMPILER), NAG)
FCOMMON_OPT += -march=armv8-a -mtune=emag
endif
endif
endif
endif

Loading…
Cancel
Save