diff options
author | kib <kib@FreeBSD.org> | 2016-11-22 09:49:15 +0000 |
---|---|---|
committer | kib <kib@FreeBSD.org> | 2016-11-22 09:49:15 +0000 |
commit | 6f642ec61a589dd95f389820661c1a6c5fd64971 (patch) | |
tree | c6c18d3ff92ca0e10fcefb4779c7b13653895300 /libexec | |
parent | 62e880885d538dc263968e2b2dbe031211f4e99c (diff) | |
download | FreeBSD-src-6f642ec61a589dd95f389820661c1a6c5fd64971.zip FreeBSD-src-6f642ec61a589dd95f389820661c1a6c5fd64971.tar.gz |
MFC r308688:
Assert that there is no unresolved symbols during rtld linking.
Diffstat (limited to 'libexec')
-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 d3e5263..cdd0ebc 100644 --- a/libexec/rtld-elf/Makefile +++ b/libexec/rtld-elf/Makefile @@ -45,7 +45,7 @@ CFLAGS+= -DPIC $(DEBUG) .if ${MACHINE_CPUARCH} == "amd64" || ${MACHINE_CPUARCH} == "i386" CFLAGS+= -fvisibility=hidden .endif -LDFLAGS+= -shared -Wl,-Bsymbolic +LDFLAGS+= -shared -Wl,-Bsymbolic -Wl,-z,defs DPADD= ${LIBC_PIC} LDADD= -lc_pic |