commit | d93fabb013279d06ab025448afce1e5f665880ee | [log] [tgz] |
---|---|---|
author | Marc Dietrich <marvin24@gmx.de> | Wed Nov 29 22:25:05 2017 +0100 |
committer | Dylan Baker <dylan@pnwbakers.com> | Fri Dec 01 17:09:42 2017 -0800 |
tree | 82e9f16e6e496585f7811fecf1bb92cf3af5788c | |
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 <mattst88@gmail.com> Reviewed-by: Dylan Baker <dylan@pnwbakers.com> Signed-off-by: Marc Dietrich <marvin24@gmx.de>