Browse Source

Add variable for gcc >=9 test

used in KERNEL.POWER9
tags/v0.3.8^2
Martin Kroeker GitHub 6 years ago
parent
commit
97762234f9
No known key found for this signature in database GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      kernel/Makefile

+ 5
- 0
kernel/Makefile View File

@@ -5,6 +5,11 @@ endif
TOPDIR = ..
include $(TOPDIR)/Makefile.system


ifeq ($(C_COMPILER), GCC)
GCCVERSIONGTEQ9 := $(shell expr `$(CC) -dumpversion | cut -f1 -d.` \>= 9)
endif

AVX2OPT =
ifeq ($(C_COMPILER), GCC)
# AVX2 support was added in 4.7.0


Loading…
Cancel
Save