[buddy] add -Wno-gnu if supported
* m4/gccwarns.m4: Add -Wno-gnu to workaround a diagnostic from clang 3.9.1 on arch Linux. clang was complaining whtat assert() is using a GNU extension.
This commit is contained in:
parent
e851e0f8c0
commit
63776d9c93
1 changed files with 1 additions and 0 deletions
|
|
@ -41,6 +41,7 @@ EOF
|
|||
Wnull-dereference \
|
||||
Wsuggest-override \
|
||||
Wpedantic \
|
||||
Wno-gnu \
|
||||
Wno-long-long
|
||||
do
|
||||
CFLAGS="$cf_save_CFLAGS $ac_cv_prog_gcc_warn_flags -$cf_opt"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue