Kernel: Force strlen compilation so BAN can use it
This commit is contained in:
@@ -31,6 +31,7 @@ BUILDDIR=$(abspath build)
|
||||
|
||||
KERNEL_OBJS= \
|
||||
$(KERNEL_ARCH_OBJS) \
|
||||
kernel/build_libc.o \
|
||||
kernel/kernel.o \
|
||||
kernel/Keyboard.o \
|
||||
kernel/kmalloc.o \
|
||||
|
||||
6
kernel/kernel/build_libc.cpp
Normal file
6
kernel/kernel/build_libc.cpp
Normal file
@@ -0,0 +1,6 @@
|
||||
#include <string.h>
|
||||
|
||||
void foo()
|
||||
{
|
||||
strlen("");
|
||||
}
|
||||
Reference in New Issue
Block a user