Kernel: Force strlen compilation so BAN can use it

This commit is contained in:
Bananymous 2022-12-13 21:33:54 +02:00
parent ced05ff5f2
commit f8224e55b1
2 changed files with 7 additions and 0 deletions

View File

@ -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 \

View File

@ -0,0 +1,6 @@
#include <string.h>
void foo()
{
strlen("");
}