Use :T:Micc here like everywhere else we test icc

This commit is contained in:
Warner Losh 2010-09-13 02:02:20 +00:00
parent 165721e3b1
commit 5545f7f9b4

View File

@ -42,7 +42,7 @@ COPTFLAGS+= -fno-strict-aliasing
. endif
.endif
.if !defined(NO_CPU_COPTFLAGS)
. if ${CC} == "icc"
. if ${CC:T:Micc} == "icc"
COPTFLAGS+= ${_ICC_CPUCFLAGS:C/(-x[^M^K^W]+)[MKW]+|-x[MKW]+/\1/}
. else
COPTFLAGS+= ${_CPUCFLAGS}