diff options
author | jsing <> | 2019-02-04 15:55:16 +0000 |
---|---|---|
committer | jsing <> | 2019-02-04 15:55:16 +0000 |
commit | 2f17e3ef128f8ae85aac6277ad363432a0894668 (patch) | |
tree | e6f32465cbad506c20ae3d89fa800f9aa9b3b1a9 | |
parent | fa4841770246f820b72eeb3723d71f234eda8059 (diff) | |
download | openbsd-2f17e3ef128f8ae85aac6277ad363432a0894668.tar.gz openbsd-2f17e3ef128f8ae85aac6277ad363432a0894668.tar.bz2 openbsd-2f17e3ef128f8ae85aac6277ad363432a0894668.zip |
Make it easier to build with LIBRESSL_HAS_TLS1_3 enabled.
ok tb@
-rw-r--r-- | src/lib/libssl/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/lib/libssl/Makefile b/src/lib/libssl/Makefile index ca6e402278..cd37f3ce86 100644 --- a/src/lib/libssl/Makefile +++ b/src/lib/libssl/Makefile | |||
@@ -1,4 +1,4 @@ | |||
1 | # $OpenBSD: Makefile,v 1.54 2019/01/23 00:50:39 tb Exp $ | 1 | # $OpenBSD: Makefile,v 1.55 2019/02/04 15:55:16 jsing Exp $ |
2 | 2 | ||
3 | .include <bsd.own.mk> | 3 | .include <bsd.own.mk> |
4 | .ifndef NOMAN | 4 | .ifndef NOMAN |
@@ -16,6 +16,9 @@ CFLAGS+= -Wall -Wundef | |||
16 | CFLAGS+= -Werror | 16 | CFLAGS+= -Werror |
17 | .endif | 17 | .endif |
18 | CFLAGS+= -DLIBRESSL_INTERNAL | 18 | CFLAGS+= -DLIBRESSL_INTERNAL |
19 | .ifdef TLS1_3 | ||
20 | CFLAGS+= -DLIBRESSL_HAS_TLS1_3 | ||
21 | .endif | ||
19 | CFLAGS+= -I${.CURDIR} | 22 | CFLAGS+= -I${.CURDIR} |
20 | 23 | ||
21 | LDADD+= -L${BSDOBJDIR}/lib/libcrypto -lcrypto | 24 | LDADD+= -L${BSDOBJDIR}/lib/libcrypto -lcrypto |