Mercurial > mplayer.hg
changeset 2239:9525c7d29543
Added notice about CFLAGS and added -fomit-frame-pointer to be always used.
author | atmos4 |
---|---|
date | Wed, 17 Oct 2001 15:53:15 +0000 |
parents | be4160d7db48 |
children | 5d476d03e2b3 |
files | configure |
diffstat | 1 files changed, 7 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Wed Oct 17 15:15:30 2001 +0000 +++ b/configure Wed Oct 17 15:53:15 2001 +0000 @@ -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\\"