- kernel compile was broken with gcc as putchar() was added by gcc in
stacktrace.c
- add -fno-builtin everywhere to avoid such problems in the future
- -fno-builtin in kernel now redundant
.if ${COMPILER_TYPE} == "ack"
LDFLAGS+= -.o
.elif ${COMPILER_TYPE} == "gnu"
-CPPFLAGS+= -fno-builtin -ffreestanding -fno-stack-protector
+CPPFLAGS+= -ffreestanding -fno-stack-protector
LDFLAGS+= -T arch/${ARCH}/kernel.lds
LDFLAGS+= -nostdlib -L/usr/gnu/lib
CFLAGS+=-march=i386
AFLAGS+=-D__ASSEMBLY__ -D_EM_WSIZE=4 -D__minix
+CFLAGS+= -fno-builtin