1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-25 08:12:17 +00:00

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
This commit is contained in:
atmos4 2001-10-17 15:53:15 +00:00
parent e0501da664
commit 637fd1b065

8
configure vendored
View File

@ -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\\"