summaryrefslogtreecommitdiff
path: root/Makefile.system
diff options
context:
space:
mode:
authorMarius Hillenbrand <mhillen@linux.ibm.com>2020-06-16 14:45:09 +0200
committerMarius Hillenbrand <mhillen@linux.ibm.com>2020-06-16 15:06:03 +0200
commit23892917667d87072eef2f18b6120f5d3c029f90 (patch)
tree8c6c27bb4bef4ad61e7b6f537d7c97bbc6dddcc6 /Makefile.system
parenta2d13ea61183099c05aa31e23ef59e1411d77177 (diff)
downloadopenblas-23892917667d87072eef2f18b6120f5d3c029f90.tar.gz
openblas-23892917667d87072eef2f18b6120f5d3c029f90.tar.bz2
openblas-23892917667d87072eef2f18b6120f5d3c029f90.zip
Makefile.system: remove duplicate variable GCCVERSIONGT5
... to bring unified gcc version detection with common variables to the one remaining spot in Makefile.system. Signed-off-by: Marius Hillenbrand <mhillen@linux.ibm.com>
Diffstat (limited to 'Makefile.system')
-rw-r--r--Makefile.system1
1 files changed, 0 insertions, 1 deletions
diff --git a/Makefile.system b/Makefile.system
index 5738b14ec..63cdbccd8 100644
--- a/Makefile.system
+++ b/Makefile.system
@@ -606,7 +606,6 @@ ifneq ($(C_COMPILER), GCC)
DYNAMIC_CORE += POWER9
endif
ifeq ($(C_COMPILER), GCC)
-GCCVERSIONGT5 := $(shell expr `$(CC) -dumpversion | cut -f1 -d.` \> 5)
ifeq ($(GCCVERSIONGT5), 1)
DYNAMIC_CORE += POWER9
else