Merge remote-tracking branch 'qatar/master'

* qatar/master:
  configure: Move -Wno-maybe-uninitialized check into gcc section

Merged-by: Michael Niedermayer <michaelni@gmx.at>
This commit is contained in:
Michael Niedermayer 2013-11-05 21:58:26 +01:00
commit 6cfaf9cde8
1 changed files with 1 additions and 1 deletions

2
configure vendored
View File

@ -4446,7 +4446,6 @@ check_disable_warning -Wno-parentheses
check_disable_warning -Wno-switch check_disable_warning -Wno-switch
check_disable_warning -Wno-format-zero-length check_disable_warning -Wno-format-zero-length
check_disable_warning -Wno-pointer-sign check_disable_warning -Wno-pointer-sign
enabled extra_warnings || check_disable_warning -Wno-maybe-uninitialized
# add some linker flags # add some linker flags
check_ldflags -Wl,--warn-common check_ldflags -Wl,--warn-common
@ -4546,6 +4545,7 @@ elif enabled gcc; then
check_cflags -Werror=missing-prototypes check_cflags -Werror=missing-prototypes
check_cflags -Werror=return-type check_cflags -Werror=return-type
check_cflags -Werror=vla check_cflags -Werror=vla
enabled extra_warnings || check_disable_warning -Wno-maybe-uninitialized
elif enabled llvm_gcc; then elif enabled llvm_gcc; then
check_cflags -mllvm -stack-alignment=16 check_cflags -mllvm -stack-alignment=16
elif enabled clang; then elif enabled clang; then