VirtualBox

Changeset 75904 in vbox


Ignore:
Timestamp:
Dec 3, 2018 1:13:36 PM (6 years ago)
Author:
vboxsync
svn:sync-xref-src-repo-rev:
127108
Message:

web services: Try reduce opimizations of vboxsoap and vboxwebsrv for gcc and clang compilers.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Main/webservice/Makefile.kmk

    r75902 r75904  
    221221  ifn1of ($(KBUILD_TARGET), win)
    222222   vboxsoap_CXXFLAGS += -Wno-shadow -Wno-parentheses $(VBOX_GCC_Wno-literal-suffix) $(VBOX_GCC_Wno-stringop-overflow) $(VBOX_GCC_Wno-stringop-truncation)
     223   ifn1of ($(KBUILD_TYPE), debug) # Save time+memory by using -O1 instead of -O2.
     224    vboxsoap_CXXFLAGS += -O1
     225   endif
    223226  endif
    224227  vboxsoap_INCS := \
     
    344347 ifn1of ($(KBUILD_TARGET), win)
    345348  vboxwebsrv_CXXFLAGS += -Wno-shadow $(VBOX_GCC_Wno-literal-suffix)
     349  ifn1of ($(KBUILD_TYPE), debug) # Save time+memory by using -O1 instead of -O2.
     350   vboxwebsrv_CXXFLAGS += -O1
     351  endif
    346352 endif
    347353 vboxwebsrv_LIBS += \
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