add -L for future compiler-rt lib location
This commit is contained in:
parent
0a61519eea
commit
21168577a5
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue