Commit df69af4e authored by Michael Niedermayer's avatar Michael Niedermayer

Merge commit 'dcd3eda6'

* commit 'dcd3eda6':
  configure: Move gcc-only -W option where it belongs
Merged-by: 's avatarMichael Niedermayer <michaelni@gmx.at>
parents 8d55362f dcd3eda6
......@@ -4430,7 +4430,6 @@ check_cflags -Wmissing-prototypes
check_cflags -Wno-pointer-to-int-cast
check_cflags -Wstrict-prototypes
enabled extra_warnings && check_cflags -Winline
enabled extra_warnings || check_cflags -Wno-maybe-uninitialized
# add some linker flags
check_ldflags -Wl,--warn-common
......@@ -4530,6 +4529,7 @@ elif enabled gcc; then
check_cflags -Werror=missing-prototypes
check_cflags -Werror=return-type
check_cflags -Werror=vla
enabled extra_warnings || check_cflags -Wno-maybe-uninitialized
elif enabled llvm_gcc; then
check_cflags -mllvm -stack-alignment=16
elif enabled clang; then
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment