From f603da372fa0d6a84a2c20e337045bbc7a2571a8 Mon Sep 17 00:00:00 2001 From: edoapra Date: Mon, 26 Mar 2018 19:03:15 +0000 Subject: [PATCH] DEPEND_CC=gcc instead of /usr/bin/gcc avoids breakage when gcc is not in /usr/bin --- src/config/GNUmakefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/config/GNUmakefile b/src/config/GNUmakefile index a56358a2eb..40530956a5 100644 --- a/src/config/GNUmakefile +++ b/src/config/GNUmakefile @@ -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