Use -fPIC for rtld-elf, so it can link on sparc64.

This commit is contained in:
Dimitry Andric 2010-10-30 16:51:25 +00:00
parent 1368e47f87
commit f4fd60a2a3

View File

@ -29,7 +29,7 @@ SYMLINKS= ${BINDIR}/${PROG} /usr/libexec/${PROG}
MLINKS= rtld.1 ld-elf.so.1.1 \
rtld.1 ld.so.1
CFLAGS+= -fpic -DPIC
CFLAGS+= -fPIC -DPIC
LDFLAGS+= -shared -Wl,-Bsymbolic
DPADD= ${LIBC_PIC}
LDADD= -lc_pic -lssp_nonshared