diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-09-07 19:22:22 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2008-09-07 19:22:22 +0000 |
commit | 6e9298963b5a9bb500e3f8308cd681b32638fb31 (patch) | |
tree | 07def201c74ec4b62848b58e0d88eba3cf238101 /lib/libssl | |
parent | f1fb39255db6e69bb35507dc39487a5cbeec621a (diff) |
sparc now requires this bloated library to be -fPIC
Diffstat (limited to 'lib/libssl')
-rw-r--r-- | lib/libssl/crypto/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/lib/libssl/crypto/Makefile b/lib/libssl/crypto/Makefile index 6994201d345..122496d9130 100644 --- a/lib/libssl/crypto/Makefile +++ b/lib/libssl/crypto/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.47 2008/09/06 12:20:07 djm Exp $ +# $OpenBSD: Makefile,v 1.48 2008/09/07 19:22:21 deraadt Exp $ LIB= crypto WANTLINT= @@ -21,6 +21,10 @@ CFLAGS+= -DB_ENDIAN CFLAGS+= -DDSO_DLFCN -DHAVE_DLFCN_H .endif +.if ${MACHINE_ARCH} == "sparc" +PICFLAG=-fPIC +.endif + CFLAGS+= -DTERMIOS -DANSI_SOURCE -DNO_ERR -DNO_WINDOWS_BRAINDEATH # Patented algorithms CFLAGS+= -DOPENSSL_NO_IDEA |