make, lib changes to make gcc/clang format libraries in /usr/lib instead of /usr/gnu/lib.

This commit is contained in:
Ben Gras 2010-09-13 16:37:02 +00:00
parent 23311d9819
commit eaa37fd21c
4 changed files with 3 additions and 5 deletions

View file

@ -68,8 +68,6 @@
755 root operator /var 755 root operator /var
/var/log -> /usr/log /var/log -> /usr/log
755 root operator /usr/log 755 root operator /usr/log
755 root operator /usr/gnu
755 root operator /usr/gnu/lib
755 root operator /usr/var 755 root operator /usr/var
755 root operator /usr/var/db 755 root operator /usr/var/db
755 root operator /usr/var/db/pkg 755 root operator /usr/var/db/pkg

View file

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

View file

@ -474,7 +474,7 @@ INFOMODE?= ${NONBINMODE}
.if ${COMPILER_TYPE} == "ack" .if ${COMPILER_TYPE} == "ack"
LIBDIR?= /usr/lib/i386 LIBDIR?= /usr/lib/i386
.elif ${COMPILER_TYPE} == "gnu" .elif ${COMPILER_TYPE} == "gnu"
LIBDIR?= /usr/gnu/lib LIBDIR?= /usr/lib
.endif .endif
LINTLIBDIR?= /usr/libdata/lint LINTLIBDIR?= /usr/libdata/lint

View file

@ -63,7 +63,7 @@ LIB${_lib:tu}= ${DESTDIR}/usr/lib/lib${_lib}.a
.if ${COMPILER_TYPE} == "ack" .if ${COMPILER_TYPE} == "ack"
LIB${_lib:tu}= ${DESTDIR}/usr/lib/i386/lib${_lib}.a LIB${_lib:tu}= ${DESTDIR}/usr/lib/i386/lib${_lib}.a
.elif ${COMPILER_TYPE} == "gnu" .elif ${COMPILER_TYPE} == "gnu"
LIB${_lib:tu}= ${DESTDIR}/usr/gnu/lib/lib${_lib}.a LIB${_lib:tu}= ${DESTDIR}/usr/lib/lib${_lib}.a
.endif .endif
.MADE: ${LIB${_lib:tu}} # Note: ${DESTDIR} will be expanded .MADE: ${LIB${_lib:tu}} # Note: ${DESTDIR} will be expanded
.endif .endif