add -L for future compiler-rt lib location

This commit is contained in:
Ben Gras 2011-12-08 18:07:30 +01:00
parent 0a61519eea
commit 21168577a5
2 changed files with 2 additions and 2 deletions

View file

@ -29,7 +29,7 @@ DPADD+= ${LIBMINLIB}
.if ${CC} == "gcc" .if ${CC} == "gcc"
LDADD+= -lgcc -lsys -lgcc -lminc LDADD+= -lgcc -lsys -lgcc -lminc
.elif ${CC} == "clang" .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} DPADD+= ${LIBC}
.endif .endif
.endif .endif

View file

@ -6,7 +6,7 @@
.if ${CC} == "gcc" .if ${CC} == "gcc"
LDADD+= -nodefaultlibs -lgcc -lsys -lgcc -lminc LDADD+= -nodefaultlibs -lgcc -lsys -lgcc -lminc
.elif ${CC} == "clang" .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
.endif .endif