diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/regress/lib/libcrypto/hmac/Makefile | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/src/regress/lib/libcrypto/hmac/Makefile b/src/regress/lib/libcrypto/hmac/Makefile index 6705336211..19ec43dce0 100644 --- a/src/regress/lib/libcrypto/hmac/Makefile +++ b/src/regress/lib/libcrypto/hmac/Makefile | |||
| @@ -1,9 +1,15 @@ | |||
| 1 | # $OpenBSD: Makefile,v 1.3 2014/07/08 15:53:52 jsing Exp $ | 1 | # $OpenBSD: Makefile,v 1.4 2024/08/08 03:46:50 tb Exp $ |
| 2 | |||
| 3 | .include <bsd.own.mk> | ||
| 2 | 4 | ||
| 3 | PROG= hmactest | 5 | PROG= hmactest |
| 4 | LDADD= -lcrypto | 6 | LDADD= -lcrypto |
| 5 | DPADD= ${LIBCRYPTO} | 7 | DPADD= ${LIBCRYPTO} |
| 6 | WARNINGS= Yes | 8 | WARNINGS= Yes |
| 7 | CFLAGS+= -DLIBRESSL_INTERNAL -Werror | 9 | CFLAGS+= -DLIBRESSL_INTERNAL |
| 10 | # The bounded attribute for HMAC_Init_ex() warns for gcc, breaking compilation | ||
| 11 | .if ${COMPILER_VERSION:L} == "clang" | ||
| 12 | CFLAGS+= -Werror | ||
| 13 | .endif | ||
| 8 | 14 | ||
| 9 | .include <bsd.regress.mk> | 15 | .include <bsd.regress.mk> |
