From 21168577a5b2434876b8368761fe47c5ff4dad57 Mon Sep 17 00:00:00 2001 From: Ben Gras Date: Thu, 8 Dec 2011 18:07:30 +0100 Subject: [PATCH] add -L for future compiler-rt lib location --- kernel/Makefile | 2 +- share/mk/minix.service.mk | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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 -- 2.44.0