include, kernel: minor fixes to make compiling and linking work with clang.

(fixing warnings)
This commit is contained in:
Ben Gras
2010-07-06 11:59:19 +00:00
parent dc47875fc7
commit f6f814cb02
12 changed files with 21 additions and 19 deletions

View File

@@ -17,7 +17,7 @@ LDFLAGS+= -.o
.elif ${COMPILER_TYPE} == "gnu"
CPPFLAGS+= -fno-builtin -ffreestanding -fno-stack-protector
LDFLAGS+= -T arch/${ARCH}/kernel.lds
LDFLAGS+= -nostdlib
LDFLAGS+= -nostdlib -L/usr/gnu/lib
DPADD+= ${LIBC}
LDADD+= -lc
.endif