VirtualBox

Changeset 38291 in vbox for trunk


Ignore:
Timestamp:
Aug 3, 2011 9:26:04 AM (13 years ago)
Author:
vboxsync
Message:

darwin install: No need to strip the binaries now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Installer/darwin/Makefile.kmk

    r38248 r38291  
    354354        $(foreach kext,$(VBOX_DI_KEXTS), \
    355355                $(NLTAB)$(INSTALL) -m 0644 $(VBOX_PATH_DIST)/$(kext).kext/Contents/Info.plist $(VBOX_PATH_PACK_TMP)/VBoxKEXTs.pkg.root/Library/Extensions/$(kext).kext/Contents/)
    356         @# Copy the binaries, invoking lipo and strip.
     356        @# Copy the binaries and invoking lipo.
    357357ifdef VBOX_WITH_COMBINED_PACKAGE
    358358        $(foreach kext,$(VBOX_DI_KEXTS_UNIVERSAL), \
     
    364364        $(foreach kext,$(VBOX_DI_KEXTS), \
    365365                $(NLTAB)$(INSTALL) -m 0755 $(VBOX_PATH_DIST)/$(kext).kext/Contents/MacOS/$(kext) $(VBOX_PATH_PACK_TMP)/VBoxKEXTs.pkg.root/Library/Extensions/$(kext).kext/Contents/MacOS/)
    366 endif
    367 if1of ($(KBUILD_TYPE), release)
    368         $(foreach kext,$(VBOX_DI_KEXTS), \
    369                 $(NLTAB)strip -uX $(VBOX_PATH_PACK_TMP)/VBoxKEXTs.pkg.root/Library/Extensions/$(kext).kext/Contents/MacOS/$(kext))
    370366endif
    371367        @# Set the correct owners.
     
    901897                 ,$(LN) -s $(bin)-$(KBUILD_TARGET_ARCH)                                         $(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin)$(NLTAB))
    902898endif
    903         @# Strip programs and dylibs.
    904 if1of ($(KBUILD_TYPE), release)
    905  ifdef VBOX_WITH_COMBINED_PACKAGE
    906         strip -SXru \
    907                 $(foreach dylib, $(VBOX_DI_VBAPP_DYLIBS) $(VBOX_DI_VBAPP_DYLIBS.x86) $(VBOX_DI_VBAPP_DYLIBS.amd64) \
    908                         ,$(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(dylib)) \
    909                 $(foreach bin,   $(addsuffix -x86, $(VBOX_DI_VBAPP_PROGS)) $(addsuffix -amd64, $(VBOX_DI_VBAPP_PROGS)) \
    910                         ,$(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin))
    911  else
    912         strip -SXru \
    913                 $(foreach dylib, $(VBOX_DI_VBAPP_DYLIBS) $(VBOX_DI_VBAPP_DYLIBS.$(KBUILD_TARGET_ARCH)) \
    914                         ,$(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(dylib)) \
    915                 $(foreach bin,   $(addsuffix -$(KBUILD_TARGET_ARCH), $(VBOX_DI_VBAPP_PROGS)) \
    916                         ,$(VBOX_PATH_PACK_TMP)/VirtualBox.pkg.root/Applications/VirtualBox.app/Contents/$(bin))
    917  endif
    918 endif
    919         @## @todo Strip the .r0 and .gc modules as well?
    920899#ifdef VBOX_WITH_HARDENING - disabled temporarily
    921900if 1
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette