diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index 9ab1e0349d..13f4ab0de5 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.15 2017/02/28 14:15:37 jsing Exp $ | 1 | # $OpenBSD: Makefile,v 1.16 2017/04/30 04:44:58 jsing Exp $ |
| 2 | 2 | ||
| 3 | LIB= crypto | 3 | LIB= crypto |
| 4 | 4 | ||
| @@ -13,13 +13,16 @@ CLEANFILES=${PC_FILES} ${VERSION_SCRIPT} | |||
| 13 | 13 | ||
| 14 | LCRYPTO_SRC= ${.CURDIR} | 14 | LCRYPTO_SRC= ${.CURDIR} |
| 15 | 15 | ||
| 16 | CFLAGS+= -Wall -Wundef -Werror | 16 | CFLAGS+= -Wall -Wundef |
| 17 | .if ${COMPILER_VERSION:L} == "gcc4" | ||
| 18 | CFLAGS+= -Werror | ||
| 19 | .endif | ||
| 20 | CFLAGS+= -DLIBRESSL_INTERNAL | ||
| 17 | 21 | ||
| 18 | .if !defined(NOPIC) | 22 | .if !defined(NOPIC) |
| 19 | CFLAGS+= -DDSO_DLFCN -DHAVE_DLFCN_H -DHAVE_FUNOPEN | 23 | CFLAGS+= -DDSO_DLFCN -DHAVE_DLFCN_H -DHAVE_FUNOPEN |
| 20 | .endif | 24 | .endif |
| 21 | 25 | ||
| 22 | CFLAGS+= -DLIBRESSL_INTERNAL | ||
| 23 | # Hardware engines | 26 | # Hardware engines |
| 24 | CFLAGS+= -DOPENSSL_NO_HW_PADLOCK # XXX enable this? | 27 | CFLAGS+= -DOPENSSL_NO_HW_PADLOCK # XXX enable this? |
| 25 | 28 | ||
