VirtualBox

Changeset 3430 in kBuild for trunk/Config.kmk


Ignore:
Timestamp:
Aug 30, 2020 5:14:06 PM (4 years ago)
Author:
bird
Message:

/Config.kmk: Quick tweak for building on newer macs.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r3427 r3430  
    294294  endif
    295295  ifndef KBUILD_MACOSX_WHATEVER_MODE
    296    if $(KBUILD_MACOSX_TARGET_VERSION) == 4
     296   if $(KBUILD_MACOSX_TARGET_VERSION) <= 4
    297297    TOOL_GCC4MACHO_SUFFIX               = -4.0
    298298    TOOL_GXX4MACHO_SUFFIX               = -4.0
    299    else if $(KBUILD_MACOSX_TARGET_VERSION) >= 5
     299   else if $(KBUILD_MACOSX_TARGET_VERSION) <= 9 # dunno which exactly.
    300300    TOOL_GCC4MACHO_SUFFIX               = -4.2
    301301    TOOL_GXX4MACHO_SUFFIX               = -4.2
     
    305305    ifeq ($(wildcard $(KBUILD_MACOSX_SDK)),)
    306306     KBUILD_MACOSX_SDK           := /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform$(KBUILD_MACOSX_SDK)
     307    endif
     308    ifeq ($(wildcard $(KBUILD_MACOSX_SDK)),)
     309     KBUILD_MACOSX_SDK           := /Library/Developer/CommandLineTools/SDKs/MacOSX10.$(KBUILD_MACOSX_TARGET_VERSION)$(if-expr $(KBUILD_MACOSX_TARGET_VERSION)==4,u,).sdk
    307310    endif
    308311   endif
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