VirtualBox

Changeset 96594 in vbox for trunk/Config.kmk


Ignore:
Timestamp:
Sep 4, 2022 5:54:52 PM (2 years ago)
Author:
vboxsync
Message:

/Config.kmk: Merge .0000cfg into .rdata in no-CRT to save a little bit of space. bugref:10261

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r96593 r96594  
    63746374
    63756375 ifdef VBOX_WITH_NOCRT_STATIC
    6376   TEMPLATE_VBOXR3STATIC_LDFLAGS            = $(TEMPLATE_VBOXR3EXE_LDFLAGS) /NODEFAULTLIB
     6376  # .0000cfg normally merges into .idata, but the linker won't let us do so via /MERGE. Doesn't matter much,
     6377  # because .idata can be writable when targeting x86 (NT 3.1 fun) and we don't want .0000cfg to be writable.
     6378  TEMPLATE_VBOXR3STATIC_LDFLAGS            = $(TEMPLATE_VBOXR3EXE_LDFLAGS) /NODEFAULTLIB /Merge:.0000cfg=.rdata
    63776379 else
    63786380  TEMPLATE_VBOXR3STATIC_LDFLAGS            = $(filter-out /DISALLOWLIB:libcmt$(VBOX_VCC_CRT_TYPE).lib /DISALLOWLIB:libcpmt$(VBOX_VCC_CRT_TYPE).lib, $(TEMPLATE_VBOXR3EXE_LDFLAGS))
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