Fix enabling of precompiled headers on macOS

On macOS, the test script is passed the full path to the compiler, like
/usr/local/bin/icpc. That doesn't match "icpc".

Change-Id: I149e0540c00745fe8119fffd1463c87b8f6a89b2
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
This commit is contained in:
Thiago Macieira 2016-07-22 18:45:36 -07:00
parent ad0d2f463a
commit 1fcea11756

View File

@ -5,7 +5,7 @@ COMPILER=$1
VERBOSE=$2
case "$COMPILER" in
icpc)
*icpc)
cat >header.h <<EOF
#define HEADER_H