Simplify strip parameter for install handling.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@22364 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
diego 2007-02-27 17:10:11 +00:00
parent 8fd6fab6a4
commit 6f1e593089
2 changed files with 3 additions and 8 deletions

View File

@ -14,11 +14,6 @@ CFLAGS += $(CFLAGS-yes)
#CFLAGS += -Wall
# Do not strip the binaries at installation
ifeq ($(STRIPBINARIES),yes)
INSTALLSTRIP = -s
endif
SRCS_COMMON = asxparser.c \
codec-cfg.c \
cpudetect.c \

6
configure vendored
View File

@ -2193,13 +2193,13 @@ echores $_named_asm_args
# Checking for CFLAGS
_stripbinaries=yes
_install_strip="-s"
if test "$_profile" != "" || test "$_debug" != "" ; then
CFLAGS="-W -Wall -O2 $_march $_mcpu $_debug $_profile"
if test "$_cc_major" -ge "3" ; then
CFLAGS=`echo "$CFLAGS" | sed -e 's/\(-Wall\)/\1 -Wno-unused-parameter/'`
fi
_stripbinaries=no
_install_strip=
elif test -z "$CFLAGS" ; then
if test "$cc_vendor" = "intel" ; then
CFLAGS="-O2 $_march $_mcpu $_pipe -fomit-frame-pointer"
@ -7448,7 +7448,7 @@ LDCONFIG = $_ldconfig
INSTALL = $_install
EXTRA_INC = $_inc_extra
OPTFLAGS = $CFLAGS \$(EXTRA_INC)
STRIPBINARIES = $_stripbinaries
INSTALLSTRIP = $_install_strip
CHARSET = $_charset
HELP_FILE = $_mp_help