changeset 6119:1c12a0bc4d0b

compile with '-g' by default for .developer
author arpi
date Sat, 18 May 2002 17:45:26 +0000
parents f869ece65aab
children 4472bc36675b
files configure
diffstat 1 files changed, 6 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/configure	Sat May 18 17:35:12 2002 +0000
+++ b/configure	Sat May 18 17:45:26 2002 +0000
@@ -3559,11 +3559,16 @@
   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>'