include, kernel: minor fixes to make compiling and linking work with clang.
(fixing warnings)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user