diff options
author | deraadt <> | 2008-09-07 19:22:21 +0000 |
---|---|---|
committer | deraadt <> | 2008-09-07 19:22:21 +0000 |
commit | f7077f2415e37a53ccd37311ae6190e7238fe3e7 (patch) | |
tree | 3a4c55f2011b6769aecdc987d00d26fb44a53b27 /src | |
parent | 80904fe512bc90547d8dd18ce75bb40f2d6e0f3a (diff) | |
download | openbsd-f7077f2415e37a53ccd37311ae6190e7238fe3e7.tar.gz openbsd-f7077f2415e37a53ccd37311ae6190e7238fe3e7.tar.bz2 openbsd-f7077f2415e37a53ccd37311ae6190e7238fe3e7.zip |
sparc now requires this bloated library to be -fPIC
Diffstat (limited to 'src')
-rw-r--r-- | src/lib/libssl/crypto/Makefile | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/src/lib/libssl/crypto/Makefile b/src/lib/libssl/crypto/Makefile index 6994201d34..122496d913 100644 --- a/src/lib/libssl/crypto/Makefile +++ b/src/lib/libssl/crypto/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.47 2008/09/06 12:20:07 djm Exp $ | 1 | # $OpenBSD: Makefile,v 1.48 2008/09/07 19:22:21 deraadt Exp $ |
2 | 2 | ||
3 | LIB= crypto | 3 | LIB= crypto |
4 | WANTLINT= | 4 | WANTLINT= |
@@ -21,6 +21,10 @@ CFLAGS+= -DB_ENDIAN | |||
21 | CFLAGS+= -DDSO_DLFCN -DHAVE_DLFCN_H | 21 | CFLAGS+= -DDSO_DLFCN -DHAVE_DLFCN_H |
22 | .endif | 22 | .endif |
23 | 23 | ||
24 | .if ${MACHINE_ARCH} == "sparc" | ||
25 | PICFLAG=-fPIC | ||
26 | .endif | ||
27 | |||
24 | CFLAGS+= -DTERMIOS -DANSI_SOURCE -DNO_ERR -DNO_WINDOWS_BRAINDEATH | 28 | CFLAGS+= -DTERMIOS -DANSI_SOURCE -DNO_ERR -DNO_WINDOWS_BRAINDEATH |
25 | # Patented algorithms | 29 | # Patented algorithms |
26 | CFLAGS+= -DOPENSSL_NO_IDEA | 30 | CFLAGS+= -DOPENSSL_NO_IDEA |