Skip to content

Commit 054e94b

Browse files
committed
Merge branch 'jed/fix-CC_VENDOR-ubuntu' [PR #501]
* jed/fix-CC_VENDOR-ubuntu: make: another fix for CC_VENDOR on Ubuntu make: fix CC_VENDOR identification on Ubuntu
2 parents 71755bc + c7f533e commit 054e94b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,7 @@ endif
7474
# export LSAN_OPTIONS=suppressions=.asanignore
7575
AFLAGS = -fsanitize=address #-fsanitize=undefined -fno-omit-frame-pointer
7676

77-
CC_VENDOR := $(firstword $(filter gcc clang icc XL,$(shell $(CC) --version)))
77+
CC_VENDOR := $(patsubst gcc%,gcc,$(firstword $(filter gcc% clang icc XL,$(shell $(CC) --version))))
7878
FC_VENDOR := $(firstword $(filter GNU ifort XL,$(shell $(FC) --version 2>&1 || $(FC) -qversion)))
7979

8080
# Default extra flags by vendor

0 commit comments

Comments
 (0)