diff options
author | Marc Dietrich <[email protected]> | 2017-11-29 22:25:05 +0100 |
---|---|---|
committer | Dylan Baker <[email protected]> | 2017-12-01 17:09:42 -0800 |
commit | d93fabb013279d06ab025448afce1e5f665880ee (patch) | |
tree | 82e9f16e6e496585f7811fecf1bb92cf3af5788c /src/mesa/drivers/dri/i965/brw_program.c | |
parent | 0ed952c7e9b811bc11dec64bd4bebcdf4222cc85 (diff) |
configure: avoid testing for negative compiler options
gcc seems to always accept unsupported negative compiler warning options:
echo "int i;" | gcc -c -xc -Wno-bob - # no error
echo "int i;" | gcc -c -xc -Walice - # unsupported compiler option
Inverting the options fixes the tests.
V2: fix options in meson build
Reviewed-by: Matt Turner <[email protected]>
Reviewed-by: Dylan Baker <[email protected]>
Signed-off-by: Marc Dietrich <[email protected]>
Diffstat (limited to 'src/mesa/drivers/dri/i965/brw_program.c')
0 files changed, 0 insertions, 0 deletions