VirtualBox

Ignore:
Timestamp:
May 20, 2020 4:47:16 PM (5 years ago)
Author:
vboxsync
Message:

SUPHardNt: Eliminated SUPR3HardenedStatic_VBOX_LIBC_OBJS as we only need chkstk.obj now with 32-bit host gone, and it is found in the lib directory. bugref:8489

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/HostDrivers/Support/Makefile.kmk

    r84064 r84419  
    405405        $(VBOX_PATH_RUNTIME_SRC)/win/errmsgwin.cpp
    406406
    407  # Add necessary compiler specific files from libcmt.lib and the lib dir.
     407 # Add necessary compiler specific files from the compiler lib dir.
    408408 ifeq ($(KBUILD_TARGET),win)
    409    SUPR3HardenedStatic_VBOX_LIBC_OBJS = chkstk.obj
    410    ifeq ($(KBUILD_TARGET_ARCH),x86)
    411     SUPR3HardenedStatic_VBOX_LIBC_OBJS += \
    412         alloca16.obj \
    413         ulldiv.obj \
    414         ulldvrm.obj \
    415         ullrem.obj \
    416         ullshr.obj \
    417         lldiv.obj \
    418         lldvrm.obj \
    419         llmul.obj \
    420         llrem.obj \
    421         llshl.obj \
    422         llshr.obj \
    423         rotl.obj \
    424         rotr.obj
    425    endif
    426   SUPR3HardenedStatic_SOURCES.win += $(addprefix $(SUPR3HardenedStatic_0_OUTDIR)/,$(SUPR3HardenedStatic_VBOX_LIBC_OBJS))
    427 
    428   $(addprefix $$(SUPR3HardenedStatic_0_OUTDIR)/,$(SUPR3HardenedStatic_VBOX_LIBC_OBJS)): \
    429                 $$(PATH_TOOL_$(TEMPLATE_VBOXR3EXE_TOOL.win.$(KBUILD_TARGET_ARCH))_LIB)/libcmt.lib | $$(dir $$@)
    430         $(TOOL_$(TEMPLATE_VBOXR3HARDENEDEXE_TOOL.win.$(KBUILD_TARGET_ARCH))_AR) "$<" \
    431                 /EXTRACT:`$(TOOL_$(TEMPLATE_VBOXR3HARDENEDEXE_TOOL.win.$(KBUILD_TARGET_ARCH))_AR) "$<" /LIST \
    432                           | $(SED_EXT) -n -e '/[\\/:]$(notdir $@)/p'` \
    433                 "/OUT:$@"
     409  include $(KBUILD_PATH)/tools/$(VBOX_VCC_TOOL).kmk
     410  SUPR3HardenedStatic_SOURCES.win += \
     411        $(PATH_TOOL_$(VBOX_VCC_TOOL)_LIB)/chkstk.obj
    434412 endif
    435413endif
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