VirtualBox

Changeset 61701 in vbox for trunk


Ignore:
Timestamp:
Jun 14, 2016 9:08:40 PM (9 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
108062
Message:

don't set VBOX_WITH_BS3KIT if gcc does not support -m64

Location:
trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r61591 r61701  
    26382638        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_fno-stack-protector   ?= $(call VBOX_GCC_CHECK_CC,-fno-stack-protector,)'
    26392639        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_fno-dwarf2-cfi-asm    ?= $(call VBOX_GCC_CHECK_CC,-fno-dwarf2-cfi-asm,)'
     2640        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_m64                   ?= $(call VBOX_GCC_CHECK_CC,-m64,)'
    26402641        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_no-pie                ?= $(call VBOX_GCC_CHECK_CC,-no-pie,)'
    26412642        $(QUIET)$(APPEND) '$@' 'VBOX_GCC_fdiagnostics-show-option ?= $(call VBOX_GCC_CHECK_CC,-fdiagnostics-show-option,)'
  • trunk/src/VBox/ValidationKit/bootsectors/Makefile.kmk

    r61547 r61701  
    4242# The VBOX_WITH_BS3KIT feature requires NASM 2.12 and either MSVC or gcc
    4343# with ms_abi function attribute (gcc v4.4+, MSVC default).
     44# Some 32-bit gcc compilers come without 64-bit support (e.g. EL5).
    4445#
    4546if defined(VBOX_WITH_OPEN_WATCOM)
     
    4849 else if $(VBOX_GCC_VERSION_CC) >= 40400 # ms_abi was added in 4.4
    4950  if1of ($(KBUILD_TARGET), linux)
    50    VBOX_WITH_BS3KIT = 1
     51   ifneq ($(VBOX_GCC_m64),)
     52    VBOX_WITH_BS3KIT = 1
     53   endif
    5154  endif
    5255 endif
Note: See TracChangeset for help on using the changeset viewer.

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