VirtualBox

Changeset 93289 in vbox


Ignore:
Timestamp:
Jan 17, 2022 10:40:30 PM (3 years ago)
Author:
vboxsync
Message:

/Config.kmk: Simplify setting arch bitness for assembler use through compiler for sparc32 and sparc64.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r93288 r93289  
    17001700VBOX_LDR_FMT_2_FLAGS.macho := -DASM_FORMAT_MACHO
    17011701VBOX_LDR_FMT_2_FLAGS.pe    := -DASM_FORMAT_PE
     1702VBOX_ASFLAGS   := -g $(VBOX_LDR_FMT_2_FLAGS.$(VBOX_LDR_FMT))
     1703VBOX_ASFLAGS32 := -g $(VBOX_LDR_FMT_2_FLAGS.$(VBOX_LDR_FMT32))
     1704VBOX_ASFLAGS64 := -g $(VBOX_LDR_FMT_2_FLAGS.$(VBOX_LDR_FMT64))
    17021705 if1of ($(KBUILD_TARGET_ARCH), sparc32 sparc64)
    1703 VBOX_ASFLAGS_BITS := -m$(VBOX_HC_ARCH_BITS)
    1704 VBOX_ASFLAGS_BITS32 := -m32
    1705 VBOX_ASFLAGS_BITS64 := -m64
    1706  endif
    1707 VBOX_ASFLAGS   := -g $(VBOX_ASFLAGS_BITS) $(VBOX_LDR_FMT_2_FLAGS.$(VBOX_LDR_FMT))
    1708 VBOX_ASFLAGS32 := -g $(VBOX_ASFLAGS_BITS32) $(VBOX_LDR_FMT_2_FLAGS.$(VBOX_LDR_FMT32))
    1709 VBOX_ASFLAGS64 := -g $(VBOX_ASFLAGS_BITS64) $(VBOX_LDR_FMT_2_FLAGS.$(VBOX_LDR_FMT64))
     1706VBOX_ASFLAGS += -m$(VBOX_HC_ARCH_BITS)
     1707VBOX_ASFLAGS32 += -m32
     1708VBOX_ASFLAGS64 += -m64
     1709 endif
    17101710endif # ifn1of ($(KBUILD_TARGET_ARCH), amd64 x86)
    17111711
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