Strip all debug symbols from binaries (and remove useless case for mozilla and activex)
authorGeoffroy Couprie <geal@videolan.org>
Mon, 6 Jul 2009 12:14:25 +0000 (14:14 +0200)
committerGeoffroy Couprie <geal@videolan.org>
Mon, 6 Jul 2009 12:14:25 +0000 (14:14 +0200)
Makefile.am

index 7650b14..015089a 100644 (file)
@@ -887,30 +887,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