Skip to content

Commit 14afdd2

Browse files
authored
Silence gfortran: command not found in build logs (#49243)
Looks like these snuck in after the last round we silenced these warnings.
1 parent 50606b2 commit 14afdd2

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

Make.inc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -546,8 +546,8 @@ CC_BASE := $(shell echo $(CC) | cut -d' ' -f1)
546546
CC_ARG := $(shell echo $(CC) | cut -s -d' ' -f2-)
547547
CXX_BASE := $(shell echo $(CXX) | cut -d' ' -f1)
548548
CXX_ARG := $(shell echo $(CXX) | cut -s -d' ' -f2-)
549-
FC_BASE := $(shell echo $(FC) | cut -d' ' -f1)
550-
FC_ARG := $(shell echo $(FC) | cut -s -d' ' -f2-)
549+
FC_BASE := $(shell echo $(FC) 2>/dev/null | cut -d' ' -f1)
550+
FC_ARG := $(shell echo $(FC) 2>/dev/null | cut -s -d' ' -f2-)
551551
endif
552552

553553
JFFLAGS := -O2 $(fPIC)

0 commit comments

Comments
 (0)