summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-25 02:19:27 +0000
committerrathann <rathann@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-11-25 02:19:27 +0000
commit3160c935c208a3e9dc80fd7b9cc274f0b9e93eb5 (patch)
tree87086f3e048c8ee488253e19899c8c8d1c5b10f6 /configure
parent422acb829c967462e4f39da5b05741c30e548ff7 (diff)
downloadmpv-3160c935c208a3e9dc80fd7b9cc274f0b9e93eb5.tar.bz2
mpv-3160c935c208a3e9dc80fd7b9cc274f0b9e93eb5.tar.xz
reversing my patch to check for -Wall support & use it if available (requested by A'rpi)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@8274 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure17
1 files changed, 2 insertions, 15 deletions
diff --git a/configure b/configure
index a9a9843584..bfbdd97d40 100755
--- a/configure
+++ b/configure
@@ -2164,19 +2164,6 @@ else
fi
echores "$_sys_sysinfo"
-echocheck "-Wall option"
-cat > $TMPC << EOF
-int main(void) { return 0; }
-EOF
-_wall=no
-cc_check -Wall && _wall=yes
-if test "$_wall" = yes ; then
- _ld_wall='-Wall'
-else
- _ld_wall=''
-fi
-echores "$_wall"
-
#########
# VIDEO #
@@ -4403,9 +4390,9 @@ if test "$_profile" != "" || test "$_debug" != "" ; then
_stripbinaries=no
elif test -z "$CFLAGS" ; then
if test "$host_arch" != "mips" ; then
- CFLAGS="-O4 $_march $_mcpu -pipe -ffast-math -fomit-frame-pointer $_ld_wall"
+ CFLAGS="-O4 $_march $_mcpu -pipe -ffast-math -fomit-frame-pointer"
else
- CFLAGS="-O4 $_march $_mcpu -ffast-math -fomit-frame-pointer $_ld_wall"
+ CFLAGS="-O4 $_march $_mcpu -ffast-math -fomit-frame-pointer"
fi
# always compile with '-g' if .developer:
if test -f ".developer" ; then