VirtualBox

Changeset 85013 in vbox for trunk/src/VBox/Frontends


Ignore:
Timestamp:
Jun 30, 2020 5:57:09 PM (4 years ago)
Author:
vboxsync
Message:

VirtualBox/Makefile.kmk: Just assume VBOX_WITH_NEW_XCODE is define now.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Frontends/VirtualBox/Makefile.kmk

    r85001 r85013  
    350350
    351351## @todo we're using a number of deprecated APIs, please fix and remove these!
    352 ifdef VBOX_WITH_NEW_XCODE
    353  VirtualBox_CXXFLAGS.darwin    += -Wno-error=deprecated-declarations
    354  VirtualBox_OBJCFLAGS.darwin   += -Wno-error=deprecated-declarations
    355  VirtualBox_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations
    356 else
    357  VirtualBox_CXXFLAGS.darwin    += -Wno-deprecated-declarations
    358  VirtualBox_OBJCFLAGS.darwin   += -Wno-deprecated-declarations
    359  VirtualBox_OBJCXXFLAGS.darwin += -Wno-deprecated-declarations
    360 endif
     352VirtualBox_CXXFLAGS.darwin    += -Wno-error=deprecated-declarations
     353VirtualBox_OBJCFLAGS.darwin   += -Wno-error=deprecated-declarations
     354VirtualBox_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations
    361355
    362356ifeq ($(KBUILD_TYPE),release)
     
    387381
    388382## @todo we're using a number of deprecated APIs, please fix and remove these!
    389 ifdef VBOX_WITH_NEW_XCODE
    390  VirtualBoxVM_CXXFLAGS.darwin    += -Wno-error=deprecated-declarations
    391  VirtualBoxVM_OBJCFLAGS.darwin   += -Wno-error=deprecated-declarations
    392  VirtualBoxVM_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations
    393 else
    394  VirtualBoxVM_CXXFLAGS.darwin    += -Wno-deprecated-declarations
    395  VirtualBoxVM_OBJCFLAGS.darwin   += -Wno-deprecated-declarations
    396  VirtualBoxVM_OBJCXXFLAGS.darwin += -Wno-deprecated-declarations
    397 endif
     383VirtualBoxVM_CXXFLAGS.darwin    += -Wno-error=deprecated-declarations
     384VirtualBoxVM_OBJCFLAGS.darwin   += -Wno-error=deprecated-declarations
     385VirtualBoxVM_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations
    398386
    399387ifeq ($(KBUILD_TYPE),release)
     
    424412
    425413## @todo we're using a number of deprecated APIs, please fix and remove these!
    426 ifdef VBOX_WITH_NEW_XCODE
    427  UICommon_CXXFLAGS.darwin    += -Wno-error=deprecated-declarations
    428  UICommon_OBJCFLAGS.darwin   += -Wno-error=deprecated-declarations
    429  UICommon_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations
    430 else
    431  UICommon_CXXFLAGS.darwin    += -Wno-deprecated-declarations
    432  UICommon_OBJCFLAGS.darwin   += -Wno-deprecated-declarations
    433  UICommon_OBJCXXFLAGS.darwin += -Wno-deprecated-declarations
    434 endif
     414UICommon_CXXFLAGS.darwin    += -Wno-error=deprecated-declarations
     415UICommon_OBJCFLAGS.darwin   += -Wno-error=deprecated-declarations
     416UICommon_OBJCXXFLAGS.darwin += -Wno-error=deprecated-declarations
    435417
    436418UICommon_LDFLAGS.darwin = \
     
    17911773 PROGRAMS += vmstarter
    17921774 vmstarter_TEMPLATE = VBOXR3EXE
    1793  ifdef VBOX_WITH_NEW_XCODE
    1794   vmstarter_OBJCXXFLAGS += -Wno-error=deprecated-declarations ## @todo fix deprecate API use!
    1795  else
    1796   vmstarter_OBJCXXFLAGS += -Wno-deprecated-declarations
    1797  endif
     1775 vmstarter_OBJCXXFLAGS += -Wno-error=deprecated-declarations ## @todo fix deprecate API use!
    17981776 vmstarter_LDFLAGS += -framework AppKit
    17991777 vmstarter_SOURCES = src/platform/darwin/vmstarter.mm
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