From 637fd1b0657ae9f75ea9f15fee4ed0411b618001 Mon Sep 17 00:00:00 2001 From: atmos4 Date: Wed, 17 Oct 2001 15:53:15 +0000 Subject: [PATCH] Added notice about CFLAGS and added -fomit-frame-pointer to be always used. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2240 b3059339-0415-0410-9bf9-f77b7e298cf2 --- configure | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 2e6b52be4d..28c3f628d6 100755 --- a/configure +++ b/configure @@ -1984,6 +1984,12 @@ if test "$_profile" || test "$_debug" ; then 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 fi # XXX check this for OpenBSD and BSD/OS @@ -2236,7 +2242,7 @@ prefix = $_prefix 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\\"