mirror of
https://github.com/mpv-player/mpv
synced 2024-11-14 22:48:35 +01:00
Checking for CFLAGS
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@698 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
c749227fc8
commit
3fc8a79f68
7
configure
vendored
7
configure
vendored
@ -802,6 +802,11 @@ if [ $_png = yes ]; then
|
||||
_libpng='-lpng -lz'
|
||||
fi
|
||||
|
||||
# Checking for CFLAGS
|
||||
if test "$CFLAGS" = ""; then
|
||||
CFLAGS=-O4 -march=$proc -mcpu=$proc -pipe -ffast-math
|
||||
fi
|
||||
|
||||
echo
|
||||
echo "Creating $MCONF"
|
||||
cat > $MCONF << EOF
|
||||
@ -812,7 +817,7 @@ AR=ar
|
||||
CC=$_cc
|
||||
X11DIR=$_x11libdir
|
||||
# OPTFLAGS=-O4 -march=$proc -mcpu=$proc -pipe -fomit-frame-pointer -ffast-math
|
||||
OPTFLAGS=-O4 -march=$proc -mcpu=$proc -pipe -ffast-math
|
||||
OPTFLAGS=$CFLAGS
|
||||
# LIBS=-L/usr/lib -L/usr/local/lib $_x11libdir $_gllib $_sdllib $_dgalib $_x11lib $_xvlib
|
||||
X_LIBS=$_x11libdir $_gllib $_sdllib $_dgalib $_x11lib $_xvlib $_vmlib $_svgalib $_libpng
|
||||
TERMCAP_LIB=$_libtermcap
|
||||
|
Loading…
Reference in New Issue
Block a user