meson: Add warnings and errors when using ICC
authorDylan Baker <dylan@pnwbakers.com>
Mon, 14 Jan 2019 23:23:41 +0000 (15:23 -0800)
committerDylan Baker <dylan@pnwbakers.com>
Thu, 24 Jan 2019 19:14:50 +0000 (19:14 +0000)
commitc1efa240c91e78385e8e433af134289b006016d0
tree28dbba6aa3bbc72e2b5ee9a601fbebc7abec49d3
parent7cb7f35bc76bf21d15ca4b1f4ee724e9ff1e2804
meson: Add warnings and errors when using ICC

ICC tries to be helpful by not erroring when it sees something that it
doesn't understand, which is completely the opposite of helpful. Meson
0.49.0 does much better at handling this by really trying to make ICC
error, but there are some things in mesa that still get ignored until
0.49.1

v2: - Fix id check, which is 'intel' not 'icc'

Cc: 18.3 <mesa-stable@lists.freedesktop.org>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com> (v1)
meson.build