Use -fPIC for rtld-elf, so it can link on sparc64.
This commit is contained in:
parent
1368e47f87
commit
f4fd60a2a3
@ -29,7 +29,7 @@ SYMLINKS= ${BINDIR}/${PROG} /usr/libexec/${PROG}
|
|||||||
MLINKS= rtld.1 ld-elf.so.1.1 \
|
MLINKS= rtld.1 ld-elf.so.1.1 \
|
||||||
rtld.1 ld.so.1
|
rtld.1 ld.so.1
|
||||||
|
|
||||||
CFLAGS+= -fpic -DPIC
|
CFLAGS+= -fPIC -DPIC
|
||||||
LDFLAGS+= -shared -Wl,-Bsymbolic
|
LDFLAGS+= -shared -Wl,-Bsymbolic
|
||||||
DPADD= ${LIBC_PIC}
|
DPADD= ${LIBC_PIC}
|
||||||
LDADD= -lc_pic -lssp_nonshared
|
LDADD= -lc_pic -lssp_nonshared
|
||||||
|
Loading…
Reference in New Issue
Block a user