I believe these must be defined for the kernel build. I have no idea
why they weren't yet - BTW this fixes the boot_loader build. If anyone has a better idea about _KERNEL_MODE, please yell! git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6597 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
1e620294dd
commit
ea7627e5a8
4
Jamrules
4
Jamrules
@ -137,10 +137,10 @@ if $(WARNINGS) = 1 {
|
||||
# standard kernel C/C++ flags
|
||||
KERNEL_CCFLAGS ?= -Wall -Wno-multichar -Wmissing-prototypes -finline -nostdinc ;
|
||||
KERNEL_CCFLAGS += -fno-builtin -D$(OBOS_TARGET_DEFINE) ;
|
||||
KERNEL_CCFLAGS += -DBOCHS_DEBUG_HACK=$(BOCHS_DEBUG_HACK) ;
|
||||
KERNEL_CCFLAGS += -DBOCHS_DEBUG_HACK=$(BOCHS_DEBUG_HACK) -D_KERNEL_MODE ;
|
||||
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) ;
|
||||
KERNEL_C++FLAGS += -DBOCHS_DEBUG_HACK=$(BOCHS_DEBUG_HACK) -D_KERNEL_MODE ;
|
||||
if $(GCC_VERSION[1]) >= 3 {
|
||||
KERNEL_C++FLAGS += -fno-use-cxa-atexit ;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user