summaryrefslogtreecommitdiffstats
path: root/TOOLS/old-configure
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2015-05-09 19:59:52 +0200
committerwm4 <wm4@nowhere>2015-05-09 19:59:52 +0200
commit27f7489adc75310863df6116d447cfc0959f6526 (patch)
treee88bf3b31915108bf6c303354cf464d1499c9284 /TOOLS/old-configure
parent0f063a5011ff120e672bd886f6090fc53d880259 (diff)
downloadmpv-27f7489adc75310863df6116d447cfc0959f6526.tar.bz2
mpv-27f7489adc75310863df6116d447cfc0959f6526.tar.xz
build: exclude -Wredundant-decls
It's useless, and creates a bogus warning in subprocess-posix.c. Since I don't know which compilers might have it by default, just change it to -Wno-redundant-decls.
Diffstat (limited to 'TOOLS/old-configure')
-rwxr-xr-xTOOLS/old-configure2
1 files changed, 1 insertions, 1 deletions
diff --git a/TOOLS/old-configure b/TOOLS/old-configure
index edc0dc1196..d4bb13ee66 100755
--- a/TOOLS/old-configure
+++ b/TOOLS/old-configure
@@ -376,7 +376,7 @@ addcflags() { cflag_check "$@" && OURCFLAGS="$OURCFLAGS $@" ; }
OURCFLAGS="-std=c99 -Wall $_opt"
addcflags -g -g3 -ggdb
-addcflags -Wundef -Wmissing-prototypes -Wshadow -Wno-switch -Wparentheses -Wpointer-arith -Wredundant-decls -Wno-pointer-sign -Werror=implicit-function-declaration -Wno-error=deprecated-declarations -Wno-error=unused-function
+addcflags -Wundef -Wmissing-prototypes -Wshadow -Wno-switch -Wparentheses -Wpointer-arith -Wno-redundant-decls -Wno-pointer-sign -Werror=implicit-function-declaration -Wno-error=deprecated-declarations -Wno-error=unused-function
# clang
addcflags -Wno-logical-op-parentheses -fcolor-diagnostics -Wno-tautological-compare -Wno-tautological-constant-out-of-range-compare
# extra