Changeset 16839 in vbox
- Timestamp:
- Feb 17, 2009 1:24:19 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Config.kmk
r16829 r16839 1586 1586 $(APPEND) '$@' 'VBOX_GCC_mtune-generic ?= $(call VBOX_GCC_CHECK_CC,-mtune=generic,)' 1587 1587 $(APPEND) '$@' 'VBOX_LD_as_needed ?= $(call VBOX_GCC_CHECK_LD,--as-needed,)' 1588 # gcc version < 3.4 has a bug in handling __attribute__((regparm(3))). 1589 # See http://osdir.com/ml/gcc.prs/2002-08/msg00223.html and probably http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20004 1590 $(APPEND) '$@' 'ifneq ($$(int-lt $$(VBOX_GCC_VERSION_CC),30400),)' 1591 $(APPEND) '$@' ' VBOX_GCC_BUGGY_REGPARM ?= 1' 1592 $(APPEND) '$@' 'endif' 1588 1593 ifneq ($(KBUILD_TARGET),l4) 1589 1594 # Set default attribute for ELF and MACH-O symbols to ``hidden'' to reduce the number -
trunk/src/recompiler_new/Makefile.kmk
r16059 r16839 100 100 $(REM_MOD)_CFLAGS.profile = $($(REM_MOD)_CFLAGS.release) 101 101 $(REM_MOD)_DEFS += IN_RING3 $(ARCH_BITS_DEFS) 102 # Temporary hack, to allow running with oldish GCC102 # workaround the regparm bug in gcc <= 3.3 103 103 $(REM_MOD)_DEFS.win.x86 += GCC_WITH_BUGGY_REGPARM 104 104 else # !win 105 105 $(REM_MOD)_TEMPLATE = VBOXR3NP 106 $(REM_MOD)_DEFS = 106 # workaround the regparm bug in gcc <= 3.3 107 $(REM_MOD)_DEFS = $(if $(VBOX_GCC_BUGGY_REGPARM),GCC_WITH_BUGGY_REGPARM,) 107 108 endif # !win 108 109 $(REM_MOD)_DEFS += IN_REM_R3 REM_INCLUDE_CPU_H
Note:
See TracChangeset
for help on using the changeset viewer.