]> rtime.felk.cvut.cz Git - coffee/buildroot.git/blob - package/mplayer/0001-disable-install-strip.patch
1bd1dc00ae7a33ee9f32b1e42c39e5cc20ef571e
[coffee/buildroot.git] / package / mplayer / 0001-disable-install-strip.patch
1 Disable stripping on installation
2
3 Using the -s option of install does not work, as it uses the host
4 strip instead of the cross strip. So, get rid of it, and let Buildroot
5 handle the stripping.
6
7 [Vincent: tweak patch for version 1.2]
8
9 Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
10 Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
11
12 diff -Nrua a/configure b/configure
13 --- a/configure 2015-10-02 21:29:04.000000000 +0100
14 +++ b/configure 2015-10-06 13:28:37.245349592 +0100
15 @@ -2780,7 +2780,7 @@
16  
17  
18  # Checking for CFLAGS
19 -_install_strip="-s"
20 +_install_strip=
21  if test -z "$CFLAGS" || test "$_profile" != "" || test "$_debug" != ""; then
22    if test "$cc_vendor" = "intel" ; then
23      CFLAGS="-O2 $_march $_mcpu $_pipe -fomit-frame-pointer"