From: Ben Gras Date: Thu, 8 Dec 2011 17:07:30 +0000 (+0100) Subject: add -L for future compiler-rt lib location X-Git-Tag: v3.2.0~191 X-Git-Url: http://zhaoyanbai.com/repos/icons/debian/static/ChangeLog.txt?a=commitdiff_plain;h=21168577a5b2434876b8368761fe47c5ff4dad57;p=minix.git add -L for future compiler-rt lib location --- diff --git a/kernel/Makefile b/kernel/Makefile index 6d89d7c66..187d36d2b 100644 --- a/kernel/Makefile +++ b/kernel/Makefile @@ -29,7 +29,7 @@ DPADD+= ${LIBMINLIB} .if ${CC} == "gcc" LDADD+= -lgcc -lsys -lgcc -lminc .elif ${CC} == "clang" -LDADD+= -L/usr/pkg/lib -lCompilerRT-Generic -lsys -lCompilerRT-Generic -lminc +LDADD+= -L/usr/pkg/lib -L/usr/pkg/compiler-rt/lib -lCompilerRT-Generic -lsys -lCompilerRT-Generic -lminc DPADD+= ${LIBC} .endif .endif diff --git a/share/mk/minix.service.mk b/share/mk/minix.service.mk index df50c11ef..1fc383cc7 100644 --- a/share/mk/minix.service.mk +++ b/share/mk/minix.service.mk @@ -6,7 +6,7 @@ .if ${CC} == "gcc" LDADD+= -nodefaultlibs -lgcc -lsys -lgcc -lminc .elif ${CC} == "clang" -LDADD+= -nodefaultlibs -L/usr/pkg/lib -lCompilerRT-Generic -lsys -lCompilerRT-Generic -lminc +LDADD+= -nodefaultlibs -L/usr/pkg/lib -L/usr/pkg/compiler-rt/lib -lCompilerRT-Generic -lsys -lCompilerRT-Generic -lminc .endif .endif