mirror of https://github.com/mpv-player/mpv
Add -Wdeclaration-after-statement to CFLAGS if available to ensure people
won't miss this requirement and thus don't have to fix it later. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@19423 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c00784bb22
commit
f0fd719118
|
@ -7086,6 +7086,10 @@ else
|
||||||
echores "no"
|
echores "no"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if cc_check -Wdeclaration-after-statement ; then
|
||||||
|
CFLAGS="-Wdeclaration-after-statement $CFLAGS"
|
||||||
|
fi
|
||||||
|
|
||||||
echocheck "ftello()"
|
echocheck "ftello()"
|
||||||
# if we don't have ftello use the osdep/ compatibility module
|
# if we don't have ftello use the osdep/ compatibility module
|
||||||
cat > $TMPC << EOF
|
cat > $TMPC << EOF
|
||||||
|
|
Loading…
Reference in New Issue