aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-multimedia/omxplayer/omxplayer/don-t-strip-while-installing.patch
blob: 4f12cc09430fe2a88ea96b23992ac8ddf23ffcd9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
Build system will strip binaries so remove strip step in Makefile.
Avoid warnings/errors like:
WARNING: File '/usr/lib/omxplayer/libavutil.so.51.56.100' from
omxplayer was already stripped, this will prevent future debugging!

Upstream-Status: Inappropriate [embedded specific]
Signed-off-by: Andrei Gherzan <andrei@gherzan.ro>

Index: git/Makefile.ffmpeg
===================================================================
--- git.orig/Makefile.ffmpeg	2012-08-26 15:38:45.099379852 +0300
+++ git/Makefile.ffmpeg	2012-08-26 15:46:51.913055176 +0300
@@ -52,7 +52,8 @@
 			--enable-hardcoded-tables \
 			--disable-runtime-cpudetect \
 			--disable-debug \
-			--cross-prefix=$(HOST)-
+			--cross-prefix=$(HOST)- \
+			--disable-stripping
 
 clean:
 	@rm -rf ffmpeg
@@ -63,5 +64,4 @@
 
 install:
 	cd ffmpeg; make -j9 DESTDIR="$(WORK)/ffmpeg_compiled" install
-	$(HOST)-strip ffmpeg_compiled/usr/lib/*.so