summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-17 15:53:15 +0000
committeratmos4 <atmos4@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-10-17 15:53:15 +0000
commit637fd1b0657ae9f75ea9f15fee4ed0411b618001 (patch)
treefc119d39cb00ed40f8c59efaf7068367a4f87e13
parente0501da664420bf81de33557f17a24b09d3278e4 (diff)
downloadmpv-637fd1b0657ae9f75ea9f15fee4ed0411b618001.tar.bz2
mpv-637fd1b0657ae9f75ea9f15fee4ed0411b618001.tar.xz
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
-rwxr-xr-xconfigure8
1 files changed, 7 insertions, 1 deletions
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
+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 @@ 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\\"