Skip to contentSkip to conversation

package/ffmpeg: prevent stripping the ffmpeg binary

PATCH New Bernd Kuhls 2 participants 2 messages Aug 10, 2014 – Aug 15, 2014

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/ffmpeg: prevent stripping the ffmpeg binary

Packages shouldn't strip executables by themselves, so that Buildroot controls whether stripping should occur or not. This also fixes the build on Blackfin FLAT where stripping actually doesn't work because stripping FLAT binaries is not supported.

Inspired by Thomas:
http://git.buildroot.net/buildroot/commit/package/hdparm/hdparm.mk?id=11dbb615338cd768acc2c3138064ddf557e9b60b

Fixes
http://autobuild.buildroot.net/results/581/581c43b50c9717e53334eb156ece95fe499ccb04/
http://autobuild.buildroot.net/results/57a/57a1bdc22b803114c018fa007884385bf8355151/
http://autobuild.buildroot.net/results/d8a/d8a1aadebd302abc923bc4865e1242ab2479d641/

---
 package/ffmpeg/ffmpeg.mk |    1 +
 1 file changed, 1 insertion(+)
package/ffmpeg/ffmpeg.mk +1 -0
index 5c269ac..e8d4ada 100644
@@ -329,6 +329,7 @@ define FFMPEG_CONFIGURE_CMDS
 		--host-cc="$(HOSTCC)" \
 		--arch=$(BR2_ARCH) \
 		--target-os="linux" \
+		--disable-stripping \
 		$(if $(BR2_GCC_TARGET_TUNE),--cpu=$(BR2_GCC_TARGET_TUNE)) \
 		$(SHARED_STATIC_LIBS_OPTS) \
 		$(FFMPEG_CONF_OPT) \
Signature · 1 line
1.7.10.4
#1 lore raw

PATCH 1/1 package/ffmpeg: prevent stripping the ffmpeg binary

Quoted 10 lines
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Bernd" == Bernd Kuhls <[email protected]> writes:

Packages shouldn't strip executables by themselves, so that Buildroot controls whether stripping should occur or not. This also fixes the build on Blackfin FLAT where stripping actually doesn't work because stripping FLAT binaries is not supported.

Inspired by Thomas:
http://git.buildroot.net/buildroot/commit/package/hdparm/hdparm.mk?id=11dbb615338cd768acc2c3138064ddf557e9b60b

Quoted 6 lines

Fixes
http://autobuild.buildroot.net/results/581/581c43b50c9717e53334eb156ece95fe499ccb04/
http://autobuild.buildroot.net/results/57a/57a1bdc22b803114c018fa007884385bf8355151/
http://autobuild.buildroot.net/results/d8a/d8a1aadebd302abc923bc4865e1242ab2479d641/

Committed, thanks.

Signature · 1 line
Bye, Peter Korsgaard