VirtualBox

Changeset 25868 in vbox


Ignore:
Timestamp:
Jan 15, 2010 4:55:21 PM (15 years ago)
Author:
vboxsync
Message:

Config.kmk: added -fdiagnostics-show-option if the compiler supports it

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Config.kmk

    r25828 r25868  
    11611161# Compiler optimization flags.
    11621162#
    1163 VBOX_GCC_WARN     ?= -Wall $(VBOX_GCC_Wextra) $(VBOX_GCC_Wno-missing-field-initializers) -Wno-unused -Wno-trigraphs
     1163VBOX_GCC_WARN     ?= -Wall $(VBOX_GCC_Wextra) $(VBOX_GCC_Wno-missing-field-initializers) -Wno-unused -Wno-trigraphs $(VBOX_GCC_fdiagnostics-show-option)
    11641164VBOX_GCC_PEDANTIC_CXX ?= -pedantic -Wshadow $(VBOX_GCC_WARN) -Wno-long-long
    11651165VBOX_GCC_PEDANTIC_C   ?= -pedantic -Wshadow $(VBOX_GCC_WARN) -Wno-long-long -Wmissing-prototypes -Wstrict-prototypes -Wmissing-declarations
     
    17671767        $(APPEND) '$@' 'endif'
    17681768endif
     1769        $(APPEND) '$@' 'VBOX_GCC_fdiagnostics-show-option ?= $(call VBOX_GCC_CHECK_CC,-fdiagnostics-show-option,)'
    17691770# Find the compiler includes for IPRT no-crt.
    17701771# Note that `$(dir $(gcc -print-libgcc-file-name))/include does not work for a 64-bit cross build on a 32-bit build host.
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