Skip to content

Commit 2185055

Browse files
committed
tweak gcc detection
1 parent 2f79d22 commit 2185055

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Makevars

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ tbb:
6464
cd tbb/src; \
6565
if [[ "$(CC)" == clang* ]]; then \
6666
$(MAKE) cpp0x=1 compiler=clang $(MAKE_ARGS); \
67-
elif [[ "$(CC)" == gcc* ]]; then \
67+
elif [[ "$(CC)" == *gcc* ]]; then \
6868
$(MAKE) cpp0x=1 compiler=gcc $(MAKE_ARGS); \
6969
else \
7070
$(MAKE) cpp0x=1 $(MAKE_ARGS); \

0 commit comments

Comments
 (0)