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