summaryrefslogtreecommitdiffstats
path: root/config.tests/unix/precomp.test
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2016-07-22 18:45:36 -0700
committerThiago Macieira <thiago.macieira@intel.com>2016-07-25 20:23:13 +0000
commit1fcea117560fb528f6a4824b1eca930b322953f9 (patch)
treec75d6e7d9be9336aa19611eec4034fde213b58f1 /config.tests/unix/precomp.test
parentad0d2f463a0905c4705660d96e8a514539c51d36 (diff)
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>
Diffstat (limited to 'config.tests/unix/precomp.test')
-rwxr-xr-xconfig.tests/unix/precomp.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/config.tests/unix/precomp.test b/config.tests/unix/precomp.test
index 9ffea20ff9..0b8377b21a 100755
--- a/config.tests/unix/precomp.test
+++ b/config.tests/unix/precomp.test
@@ -5,7 +5,7 @@ COMPILER=$1
VERBOSE=$2
case "$COMPILER" in
-icpc)
+*icpc)
cat >header.h <<EOF
#define HEADER_H