kernel: Use LIBDIR var in Makefile
Instead of using a hard-coded path, use the LIBDIR variable so the library path can be overridden.
This commit is contained in:
parent
504abf4b34
commit
cfc1fe2ead
1 changed files with 1 additions and 1 deletions
|
@ -23,7 +23,7 @@ LDFLAGS+= -.o
|
|||
.elif ${COMPILER_TYPE} == "gnu"
|
||||
CPPFLAGS+= -ffreestanding -fno-stack-protector
|
||||
LDFLAGS+= -T arch/${ARCH}/kernel.lds
|
||||
LDFLAGS+= -nostdlib -L/usr/lib
|
||||
LDFLAGS+= -nostdlib -L${LIBDIR}
|
||||
CFLAGS+=-march=i386
|
||||
DPADD+= ${LIBC}
|
||||
LDADD+= -lgcc -lc -lgcc
|
||||
|
|
Loading…
Reference in a new issue