summaryrefslogtreecommitdiffstats
path: root/package/mplayer/0001-disable-install-strip.patch
diff options
context:
space:
mode:
Diffstat (limited to 'package/mplayer/0001-disable-install-strip.patch')
-rw-r--r--package/mplayer/0001-disable-install-strip.patch21
1 files changed, 10 insertions, 11 deletions
diff --git a/package/mplayer/0001-disable-install-strip.patch b/package/mplayer/0001-disable-install-strip.patch
index 644d292eb9..1bd1dc00ae 100644
--- a/package/mplayer/0001-disable-install-strip.patch
+++ b/package/mplayer/0001-disable-install-strip.patch
@@ -4,21 +4,20 @@ Using the -s option of install does not work, as it uses the host
strip instead of the cross strip. So, get rid of it, and let Buildroot
handle the stripping.
+[Vincent: tweak patch for version 1.2]
+
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
----
- configure | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
+Signed-off-by: Vicente Olivert Riera <Vincent.Riera@imgtec.com>
-Index: mplayer-32710/configure
-===================================================================
---- mplayer-32710.orig/configure
-+++ mplayer-32710/configure
-@@ -2519,7 +2519,7 @@
+diff -Nrua a/configure b/configure
+--- a/configure 2015-10-02 21:29:04.000000000 +0100
++++ b/configure 2015-10-06 13:28:37.245349592 +0100
+@@ -2780,7 +2780,7 @@
# Checking for CFLAGS
-_install_strip="-s"
+_install_strip=
- if test "$_profile" != "" || test "$_debug" != "" ; then
- CFLAGS="-O2 $_march $_mcpu $_pipe $_debug $_profile"
- WARNFLAGS="-W -Wall"
+ if test -z "$CFLAGS" || test "$_profile" != "" || test "$_debug" != ""; then
+ if test "$cc_vendor" = "intel" ; then
+ CFLAGS="-O2 $_march $_mcpu $_pipe -fomit-frame-pointer"
OpenPOWER on IntegriCloud