| version 1.310.2.2, 2011/02/17 11:59:27 |
version 1.311, 2011/02/06 00:52:49 |
| Line 536 _LIBLDOPTS+= -Wl,-rpath-link,${DESTDIR}$ |
|
| Line 536 _LIBLDOPTS+= -Wl,-rpath-link,${DESTDIR}$ |
|
| # -Xl,-nostdlib is not enough because we want to tell the compiler-driver not |
# -Xl,-nostdlib is not enough because we want to tell the compiler-driver not |
| # to add standard libraries, not the linker. |
# to add standard libraries, not the linker. |
| .if !defined(LIB) |
.if !defined(LIB) |
| .if !empty(LIBC_SO) |
|
| DPLIBC ?= ${DESTDIR}${LIBC_SO} |
DPLIBC ?= ${DESTDIR}${LIBC_SO} |
| .endif |
|
| .else |
.else |
| .if ${LIB} != "c" && ${LIB:Mgcc*} == "" |
.if ${LIB} != "c" && ${LIB:Mgcc*} == "" |
| .if !empty(LIBC_SO) |
|
| DPLIBC ?= ${DESTDIR}${LIBC_SO} |
DPLIBC ?= ${DESTDIR}${LIBC_SO} |
| .endif |
|
| .else |
.else |
| LDLIBC ?= -nodefaultlibs |
LDLIBC ?= -nodefaultlibs |
| .if ${LIB} == "c" |
.if ${LIB} == "c" |