Deorbit ALLOW_SHARED_TEXTREL
We want to avoid .text relocations in shared objects. libcrypto was the only consumer and it is now fixed (as of r299389). Remove the now-unused support for turning off the linker warning. Reviewed by: kib Differential Revision: https://reviews.freebsd.org/D6323
This commit is contained in:
parent
68c47fcfad
commit
ce9d1e2acd
@ -216,14 +216,12 @@ CLEANFILES+= ${SOBJS}
|
||||
_LIBS+= ${SHLIB_NAME}
|
||||
|
||||
SOLINKOPTS+= -shared -Wl,-x
|
||||
.if !defined(ALLOW_SHARED_TEXTREL)
|
||||
.if defined(LD_FATAL_WARNINGS) && ${LD_FATAL_WARNINGS} == "no"
|
||||
SOLINKOPTS+= -Wl,--no-fatal-warnings
|
||||
.else
|
||||
SOLINKOPTS+= -Wl,--fatal-warnings
|
||||
.endif
|
||||
SOLINKOPTS+= -Wl,--warn-shared-textrel
|
||||
.endif
|
||||
|
||||
.if target(beforelinking)
|
||||
beforelinking: ${SOBJS}
|
||||
|
Loading…
Reference in New Issue
Block a user