[vlc-devel] commit: Strip all debug symbols from binaries ( and remove useless case for mozilla and activex) (Geoffroy Couprie )

git version control git at videolan.org
Mon Jul 6 14:28:03 CEST 2009


vlc | branch: 1.0-bugfix | Geoffroy Couprie <geal at videolan.org> | Mon Jul  6 14:14:25 2009 +0200| [a5e4978f8fcc050c74abe63d1d1e377263c39c19] | committer: Geoffroy Couprie 

Strip all debug symbols from binaries (and remove useless case for mozilla and activex)
(cherry picked from commit ba501462ff0b1700626c0118d6e3f5fe6c9761fb)

Signed-off-by: Geoffroy Couprie <geal at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=a5e4978f8fcc050c74abe63d1d1e377263c39c19
---

 Makefile.am |   17 ++---------------
 1 files changed, 2 insertions(+), 15 deletions(-)

diff --git a/Makefile.am b/Makefile.am
index eb9b221..26f9b6a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -892,30 +892,17 @@ package-win-common-strip: package-win32-base-debug
 	for i in "" vlc-$(VERSION)/*$(LIBEXT) ; \
       do if test -n "$$i" ; then \
       $(OBJCOPY) --only-keep-debug "$$i" "$$i.dbg"; \
-      $(OBJCOPY) --strip-debug "$$i" ; \
+      $(OBJCOPY) --strip-all "$$i" ; \
       $(OBJCOPY) --add-gnu-debuglink="$$i.dbg" "$$i" ; \
 	  mv "$$i.dbg" "$(win32_debugdir)"; \
     fi; done
 
-if BUILD_MOZILLA
-	$(OBJCOPY) --only-keep-debug "$(npvlc)" "$(npvlc).dbg"
-	$(OBJCOPY) --strip-debug "$(npvlc)"
-	$(OBJCOPY) --add-gnu-debuglink="$(npvlc).dbg" "$(npvlc)"
-	mv "$(npvlc).dbg" "$(win32_debugdir)"
-endif
-if BUILD_ACTIVEX
-	$(OBJCOPY) --only-keep-debug "$(axvlc)" "$(axvlc).dbg"
-	$(OBJCOPY) --strip-debug "$(axvlc)"
-	$(OBJCOPY) --add-gnu-debuglink="$(axvlc).dbg" "$(axvlc)"
-	mv "$(axvlc).dbg" "$(win32_debugdir)"
-endif
-
 #strip all plugins dll
 package-win32-base: package-win-common-strip
 	for i in "" $(win32_destdir)/plugins/*$(LIBEXT) ; \
 	  do if test -n "$$i" ; then \
 	  $(OBJCOPY) --only-keep-debug "$$i" "$$i.dbg"; \
-	  $(OBJCOPY) --strip-debug "$$i" ; \
+	  $(OBJCOPY) --strip-all "$$i" ; \
 	  $(OBJCOPY) --add-gnu-debuglink="$$i.dbg" "$$i" ; \
 	  mv "$$i.dbg" "$(win32_debugdir)"; \
 	fi ; done




More information about the vlc-devel mailing list