summaryrefslogtreecommitdiffstats
path: root/configure
diff options
context:
space:
mode:
authorpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-30 14:26:35 +0000
committerpl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-05-30 14:26:35 +0000
commit27e3edb07ad5ca590aaaf5753de33328aa999104 (patch)
tree2e38274a802071fc1f9f0de29d535da77ad9e4a1 /configure
parentdbd92f86edc140542b96e81938cbfd973ec08031 (diff)
downloadmpv-27e3edb07ad5ca590aaaf5753de33328aa999104.tar.bz2
mpv-27e3edb07ad5ca590aaaf5753de33328aa999104.tar.xz
avoids stripping the binary at install if debugging or profiling is enabled
(original patch by Balazs Tibor <tibcu@sch.bme.hu> - edited for simplicity) git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6241 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure b/configure
index 67e7f37296..bbc204d5ae 100755
--- a/configure
+++ b/configure
@@ -3639,8 +3639,10 @@ fi
#############################################################################
# Checking for CFLAGS
+_stripbinaries=yes
if test "$_profile" || test "$_debug" ; then
CFLAGS="-W -Wall -O2 $_march $_mcpu $_debug $_profile"
+ _stripbinaries=no
elif test -z "$CFLAGS" ; then
if test "$host_arch" != "mips" ; then
CFLAGS="-O4 $_march $_mcpu -pipe -ffast-math -fomit-frame-pointer"
@@ -3650,6 +3652,7 @@ elif test -z "$CFLAGS" ; then
# always compile with '-g' if .developer:
if test -f ".developer" ; then
CFLAGS="-g $CFLAGS"
+ _stripbinaries=no
fi
else
cat <<EOF
@@ -3796,6 +3799,7 @@ AWK = $_awk
OPTFLAGS = $CFLAGS
EXTRA_INC = $_inc_extra $_inc_gtk
WIN32_PATH = -DWIN32_PATH=\\"$_win32libdir\\"
+STRIPBINARIES = $_stripbinaries
STREAMING = $_streaming
STREAMING_LIB = $_ld_streaming