diff --git a/docs/UPDATING b/docs/UPDATING index 052ba9c4a..f502e6ec1 100644 --- a/docs/UPDATING +++ b/docs/UPDATING @@ -1,3 +1,9 @@ +20120306: + The base system only looks in /usr/pkg/compiler-rt/lib now, so + -L/usr/pkg/lib is gone. + Please make sure you have the latest compiler-rt package + installed. + 20120214: Compiling everything with clang (previous entry) depends on a relatively new clang package. Please make sure you have at diff --git a/kernel/Makefile b/kernel/Makefile index 071e12f79..4752efee0 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -26,7 +26,7 @@ DPADD+= ${LIBMINLIB} .if ${CC} == "gcc" LDADD+= -lgcc -lsys -lgcc -lminc .elif ${CC} == "clang" -LDADD+= -L/usr/pkg/lib -L/usr/pkg/compiler-rt/lib -lCompilerRT-Generic -lsys -lCompilerRT-Generic -lminc +LDADD+= -L/usr/pkg/compiler-rt/lib -lCompilerRT-Generic -lsys -lCompilerRT-Generic -lminc DPADD+= ${LIBC} .endif diff --git a/share/mk/minix.service.mk b/share/mk/minix.service.mk index 19d028fd7..647124794 100644 --- a/share/mk/minix.service.mk +++ b/share/mk/minix.service.mk @@ -4,7 +4,7 @@ .if ${CC} == "gcc" LDADD+= -nodefaultlibs -lgcc -lsys -lgcc -lminc .elif ${CC} == "clang" -LDADD+= -nodefaultlibs -L/usr/pkg/lib -L/usr/pkg/compiler-rt/lib -lCompilerRT-Generic -lsys -lCompilerRT-Generic -lminc +LDADD+= -nodefaultlibs -L/usr/pkg/compiler-rt/lib -lCompilerRT-Generic -lsys -lCompilerRT-Generic -lminc .endif .include