changeset 22346:26c1cc2a22ff

Simplify strip parameter for install handling.
author diego
date Tue, 27 Feb 2007 17:10:11 +0000
parents a50a835635c7
children c8a46062a210
files Makefile configure
diffstat 2 files changed, 3 insertions(+), 8 deletions(-) [+]
line wrap: on
line diff
--- 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 \
--- 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