kernel: disable an optimization on GCC6...
as a workaround for crashs. Signed-off-by: Jérôme Duval <jerome.duval@gmail.com>
This commit is contained in:
parent
2d4d0f0ac1
commit
16c53b7527
@ -327,6 +327,11 @@ rule KernelArchitectureSetup architecture
|
||||
HAIKU_KERNEL_C++FLAGS += -std=gnu++11 ;
|
||||
}
|
||||
|
||||
if $(gccVersion[1]) >= 6 {
|
||||
HAIKU_KERNEL_C++FLAGS += -fno-delete-null-pointer-checks ;
|
||||
HAIKU_KERNEL_CCFLAGS += -fno-delete-null-pointer-checks ;
|
||||
}
|
||||
|
||||
HAIKU_KERNEL_PIC_CCFLAGS = -fno-pic ;
|
||||
HAIKU_KERNEL_PIC_LINKFLAGS = ;
|
||||
HAIKU_KERNEL_ADDON_LINKFLAGS = ;
|
||||
|
Loading…
Reference in New Issue
Block a user