0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00

compile with '-g' by default for .developer

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6120 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2002-05-18 17:45:26 +00:00
parent d341f0e32d
commit aab9f7a085

7
configure vendored
View File

@ -3559,11 +3559,16 @@ elif test -z "$CFLAGS" ; then
else
CFLAGS="-O4 $_march $_mcpu -ffast-math -fomit-frame-pointer"
fi
# always compile with '-g' if .developer:
if test -f ".developer" ; then
CFLAGS="-g $CFLAGS"
fi
else
cat <<EOF
MPlayer compilation will use CFLAGS set by you, but:
DO NOT BUGREPORT IF IT DOES NOT WORK
*** *** DO NOT BUGREPORT IF IT DOES NOT COMPILE/WORK! *** ***
It is strongly recommended you let MPlayer choose the correct CFLAGS!
To do so, execute 'CFLAGS= ./configure <options>'