diff options
author | dim <dim@FreeBSD.org> | 2010-10-30 16:51:25 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2010-10-30 16:51:25 +0000 |
commit | e6be3e7867eb43d220575baee2ce5662fb03e46c (patch) | |
tree | befe5dfe369ea3c035f7fdb4b214189189e55c12 | |
parent | 3279f5121cfdbf40c8e2632fde0b48a5199de3eb (diff) | |
download | FreeBSD-src-e6be3e7867eb43d220575baee2ce5662fb03e46c.zip FreeBSD-src-e6be3e7867eb43d220575baee2ce5662fb03e46c.tar.gz |
Use -fPIC for rtld-elf, so it can link on sparc64.
-rw-r--r-- | libexec/rtld-elf/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libexec/rtld-elf/Makefile b/libexec/rtld-elf/Makefile index 62aaaab..e933d36 100644 --- a/libexec/rtld-elf/Makefile +++ b/libexec/rtld-elf/Makefile @@ -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 |