Lets the boot loader compile under GCC 3 (and possibly other C++ kernel
components). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@4999 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1bf10fafcb
commit
bbb6f2d463
3
Jamrules
3
Jamrules
@ -141,6 +141,9 @@ KERNEL_CCFLAGS += -DBOCHS_DEBUG_HACK=$(BOCHS_DEBUG_HACK) ;
|
||||
KERNEL_C++FLAGS ?= -Wall -Wno-multichar -Wmissing-prototypes -finline -nostdinc ;
|
||||
KERNEL_C++FLAGS += -fno-builtin -fno-exceptions -fno-rtti -D$(OBOS_TARGET_DEFINE) ;
|
||||
KERNEL_C++FLAGS += -DBOCHS_DEBUG_HACK=$(BOCHS_DEBUG_HACK) ;
|
||||
if $(GCC_VERSION[1]) >= 3 {
|
||||
KERNEL_C++FLAGS += -fno-use-cxa-atexit ;
|
||||
}
|
||||
|
||||
# We might later want to introduce debug levels or handle the whole issue
|
||||
# differently. For now there's only on or off.
|
||||
|
Loading…
Reference in New Issue
Block a user