Merge commit 'cb49bb10ca7fcff2e382d9d989232b1a7f28e7da'
authorHendrik Leppkes <h.leppkes@gmail.com>
Mon, 7 Dec 2015 15:01:41 +0000 (16:01 +0100)
committerHendrik Leppkes <h.leppkes@gmail.com>
Mon, 7 Dec 2015 15:01:41 +0000 (16:01 +0100)
* commit 'cb49bb10ca7fcff2e382d9d989232b1a7f28e7da':
  build: Move -Wcast-qual to the extra_warnings

Merged-by: Hendrik Leppkes <h.leppkes@gmail.com>
configure

index a731712..d015c07 100755 (executable)
--- a/configure
+++ b/configure
@@ -5711,6 +5711,7 @@ check_cflags -Wno-pointer-to-int-cast
 check_cflags -Wstrict-prototypes
 check_cflags -Wempty-body
 enabled extra_warnings && check_cflags -Winline
+enabled extra_warnings && check_cflags -Wcast-qual
 
 check_disable_warning(){
     warning_flag=-W${1#-Wno-}