DEPEND_CC=gcc instead of /usr/bin/gcc avoids breakage when gcc is not in /usr/bin

This commit is contained in:
edoapra 2018-03-26 19:03:15 +00:00
parent 77ba9d53c2
commit f603da372f
No known key found for this signature in database
GPG key ID: 79CA3F28FF1B91CE

View file

@ -15,10 +15,10 @@ endif
# force serial compiler in case CC=mpicc used (even though it should not be)
#
ifeq ($(TARGET),LINUX)
DEPEND_CC = /usr/bin/gcc
DEPEND_CC = gcc
endif
ifeq ($(TARGET),LINUX64)
DEPEND_CC = /usr/bin/gcc
DEPEND_CC = gcc
endif
ifeq ($(TARGET),BGQ)
DEPEND_CC = /usr/bin/gcc