Changeset 25896 in vbox
- Timestamp:
- Jan 18, 2010 3:29:39 PM (15 years ago)
- svn:sync-xref-src-repo-rev:
- 56708
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r25868 r25896 1730 1730 1731 1731 # HC compiler switch detection. 1732 $(APPEND) '$@' 'VBOX_GCC_VERSION_CC 1733 $(APPEND) '$@' 'VBOX_GCC_VERSION_CXX 1734 $(APPEND) '$@' 'VBOX_GCC_LIBGCC 1735 $(APPEND) '$@' 'VBOX_GCC_Wno-pointer-sign 1736 $(APPEND) '$@' 'VBOX_GCC_Wno-array_bounds 1732 $(APPEND) '$@' 'VBOX_GCC_VERSION_CC ?= $(call VBOX_GCC_VERSION,$(TOOL_$(VBOX_GCC_TOOL)_CC))' 1733 $(APPEND) '$@' 'VBOX_GCC_VERSION_CXX ?= $(call VBOX_GCC_VERSION,$(TOOL_$(VBOX_GCC_TOOL)_CXX))' 1734 $(APPEND) '$@' 'VBOX_GCC_LIBGCC ?= $(shell $(TOOL_$(VBOX_GCC_TOOL)_CC) -print-libgcc-file-name)' 1735 $(APPEND) '$@' 'VBOX_GCC_Wno-pointer-sign ?= $(call VBOX_GCC_CHECK_CC,-Wno-pointer-sign,)' 1736 $(APPEND) '$@' 'VBOX_GCC_Wno-array_bounds ?= $$(if $$(int-ge $$(VBOX_GCC_VERSION_CXX),40300),-Wno-array-bounds,)' 1737 1737 # -Wextra produces additional useful warnings but includes -Wno-missing-field-initializers (too noisy) 1738 1738 $(APPEND) '$@' 'VBOX_GCC_Wextra ?= $(call VBOX_GCC_CHECK_CC,-Wextra,)' 1739 $(APPEND) '$@' 'VBOX_GCC_Wlogical-op ?= $(call VBOX_GCC_CHECK_CC,-Wlogical-op,)' 1739 1740 $(APPEND) '$@' 'VBOX_GCC_Wno-missing-field-initializers ?= $(call VBOX_GCC_CHECK_CC,-Wno-missing-field-initializers,)' 1740 1741 $(APPEND) '$@' 'VBOX_GCC_Wno-pointer-to-int-cast ?= $(call VBOX_GCC_CHECK_CC,-Wno-pointer-to-int-cast,)' … … 1743 1744 $(APPEND) '$@' 'VBOX_GCC_Wno-invalid-offsetof ?= $(call VBOX_GCC_CHECK_CXX,-Wno-invalid-offsetof,)' 1744 1745 $(APPEND) '$@' 'VBOX_GCC_fno-stack-protector ?= $(call VBOX_GCC_CHECK_CC,-fno-stack-protector,)' 1746 $(APPEND) '$@' 'VBOX_GCC_fdiagnostics-show-option ?= $(call VBOX_GCC_CHECK_CC,-fdiagnostics-show-option,)' 1745 1747 # Produce code optimized for the most common IA32/AMD64/EM64T processors. Introduced with gcc version 4.2. 1746 1748 $(APPEND) '$@' 'VBOX_GCC_mtune-generic ?= $(call VBOX_GCC_CHECK_CC,-mtune=generic,)' … … 1767 1769 $(APPEND) '$@' 'endif' 1768 1770 endif 1769 $(APPEND) '$@' 'VBOX_GCC_fdiagnostics-show-option ?= $(call VBOX_GCC_CHECK_CC,-fdiagnostics-show-option,)'1770 1771 # Find the compiler includes for IPRT no-crt. 1771 1772 # 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.