# HG changeset patch # User diego # Date 1172596211 0 # Node ID 26c1cc2a22ff904c30abf9cd8f81c023d41d40bd # Parent a50a835635c76732f6b094f89f4d4f2d71442b04 Simplify strip parameter for install handling. diff -r a50a835635c7 -r 26c1cc2a22ff Makefile --- a/Makefile Tue Feb 27 17:06:36 2007 +0000 +++ b/Makefile Tue Feb 27 17:10:11 2007 +0000 @@ -14,11 +14,6 @@ #CFLAGS += -Wall -# Do not strip the binaries at installation -ifeq ($(STRIPBINARIES),yes) -INSTALLSTRIP = -s -endif - SRCS_COMMON = asxparser.c \ codec-cfg.c \ cpudetect.c \ diff -r a50a835635c7 -r 26c1cc2a22ff configure --- a/configure Tue Feb 27 17:06:36 2007 +0000 +++ b/configure Tue Feb 27 17:10:11 2007 +0000 @@ -2193,13 +2193,13 @@ # 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 @@ INSTALL = $_install EXTRA_INC = $_inc_extra OPTFLAGS = $CFLAGS \$(EXTRA_INC) -STRIPBINARIES = $_stripbinaries +INSTALLSTRIP = $_install_strip CHARSET = $_charset HELP_FILE = $_mp_help