[Mplayer-cvslog] CVS: main configure,1.190,1.191
Atmosfear
atmos4 at mplayer.dev.hu
Wed Oct 17 17:53:19 CEST 2001
Update of /cvsroot/mplayer/main
In directory mplayer:/var/tmp.root/cvs-serv11234
Modified Files:
configure
Log Message:
Added notice about CFLAGS and added -fomit-frame-pointer to be always used.
Index: configure
===================================================================
RCS file: /cvsroot/mplayer/main/configure,v
retrieving revision 1.190
retrieving revision 1.191
diff -u -r1.190 -r1.191
--- configure 16 Oct 2001 23:30:38 -0000 1.190
+++ configure 17 Oct 2001 15:53:15 -0000 1.191
@@ -1984,6 +1984,12 @@
CFLAGS="-W -Wall -O2 $_march $_mcpu $_debug $_profile"
elif test -z "$CFLAGS" ; then
CFLAGS="-O4 $_march $_mcpu -pipe -ffast-math -fomit-frame-pointer"
+else
+ cat <<EOF
+MPlayer is using custom CFLAGS set by you, it is strongly recommended that you
+let MPlayer choose the correct CFLAGS!
+To do so execute CFLAGS= ./configure <your options>
+EOF
fi
# XXX check this for OpenBSD and BSD/OS
@@ -2236,7 +2242,7 @@
AR=ar
CC=$_cc
# OPTFLAGS=-O4 $_profile $_debug $_march $_mcpu -pipe -fomit-frame-pointer -ffast-math
-OPTFLAGS=$CFLAGS
+OPTFLAGS=$CFLAGS -fomit-frame-pointer # make sure -fomit-frame-pointer is always used
EXTRA_INC=$_extraincdir $_gtkinc
WIN32_PATH=-DWIN32_PATH=\\"$_win32libdir\\"
More information about the MPlayer-cvslog
mailing list