summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-18 17:45:26 +0000
committerarpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-18 17:45:26 +0000
commitaab9f7a0850b4a7bf2dba4404283abf7ebcf1720 (patch)
treec740d8ba781a029c934084ec606018d830c631b1 /configure
parentd341f0e32d550b810bd0b44718ad61aebbe8b832 (diff)
downloadmpv-aab9f7a0850b4a7bf2dba4404283abf7ebcf1720.tar.bz2
mpv-aab9f7a0850b4a7bf2dba4404283abf7ebcf1720.tar.xz
compile with '-g' by default for .developer
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6120 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure7
1 files changed, 6 insertions, 1 deletions
diff --git a/configure b/configure
index abb0858a6f..3542d31fbf 100755
--- a/configure
+++ b/configure
@@ -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>'