summaryrefslogtreecommitdiffstats
path: root/secure/lib
diff options
context:
space:
mode:
authorkib <kib@FreeBSD.org>2011-12-06 11:28:17 +0000
committerkib <kib@FreeBSD.org>2011-12-06 11:28:17 +0000
commita56c72dcf2baa76870e19aeed748720318e27afc (patch)
tree5166dcaeaf451638068ea850d6b60aab4d8e55c7 /secure/lib
parent12e8232d4db8b80e5a4da1575bcfad518f1f867b (diff)
downloadFreeBSD-src-a56c72dcf2baa76870e19aeed748720318e27afc.zip
FreeBSD-src-a56c72dcf2baa76870e19aeed748720318e27afc.tar.gz
Force linker error when created shared library contains a relocation
against text. Provide the override switch to turn off the strict behaviour. Apparently, openssl libcrypto needs it due to assembler code not being PIC. Discussed with: bf MFC after: 2 weeks
Diffstat (limited to 'secure/lib')
-rw-r--r--secure/lib/libcrypto/Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/secure/lib/libcrypto/Makefile b/secure/lib/libcrypto/Makefile
index 0a1704c..73f5cb7 100644
--- a/secure/lib/libcrypto/Makefile
+++ b/secure/lib/libcrypto/Makefile
@@ -7,6 +7,7 @@ SUBDIR= engines
LIB= crypto
SHLIB_MAJOR= 6
+ALLOW_SHARED_TEXTREL=
NO_LINT=
OpenPOWER on IntegriCloud