Browse Source

GCC did not support -mtune for ARM64 before 5.1

tags/v0.3.18
Martin Kroeker GitHub 4 years ago
parent
commit
efbd7c7840
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 14 additions and 0 deletions
  1. +14
    -0
      Makefile.arm64

+ 14
- 0
Makefile.arm64 View File

@@ -1,4 +1,15 @@
ifneq ($(C_COMPILER), PGI)

ifneq ($(GCCVERSIONGT4), 1)
CCOMMON_OPT += -march=armv8-a
ifneq ($(F_COMPILER), NAG)
FCOMMON_OPT += -march=armv8-a
endif


else


ifeq ($(CORE), ARMV8)
CCOMMON_OPT += -march=armv8-a
ifneq ($(F_COMPILER), NAG)
@@ -138,4 +149,7 @@ FCOMMON_OPT += -march=armv8-a -mtune=emag
endif
endif
endif

endif

endif

Loading…
Cancel
Save