diff options
Diffstat (limited to '')
| -rw-r--r-- | src/lib/libcrypto/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libcrypto/Makefile b/src/lib/libcrypto/Makefile index 4e363d970b..6d5ef88230 100644 --- a/src/lib/libcrypto/Makefile +++ b/src/lib/libcrypto/Makefile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.121 2023/04/26 19:16:02 beck Exp $ | 1 | # $OpenBSD: Makefile,v 1.122 2023/04/26 21:36:42 tb Exp $ |
| 2 | 2 | ||
| 3 | LIB= crypto | 3 | LIB= crypto |
| 4 | LIBREBUILD=y | 4 | LIBREBUILD=y |
| @@ -15,6 +15,9 @@ CLEANFILES=${PC_FILES} ${VERSION_SCRIPT} | |||
| 15 | LCRYPTO_SRC= ${.CURDIR} | 15 | LCRYPTO_SRC= ${.CURDIR} |
| 16 | 16 | ||
| 17 | CFLAGS+= -Wall -Wundef | 17 | CFLAGS+= -Wall -Wundef |
| 18 | .ifdef HAS_DAG | ||
| 19 | CFLAGS+= -DLIBRESSL_HAS_POLICY_DAG | ||
| 20 | .endif | ||
| 18 | .if ${COMPILER_VERSION:L} == "clang" | 21 | .if ${COMPILER_VERSION:L} == "clang" |
| 19 | CFLAGS+= -Werror | 22 | CFLAGS+= -Werror |
| 20 | .endif | 23 | .endif |
