diff --git a/crypto/external/cpl/tpm-tools/bin/tpm_sealdata/Makefile b/crypto/external/cpl/tpm-tools/bin/tpm_sealdata/Makefile index e2eb90f45ef2..ddc4cbce731e 100644 --- a/crypto/external/cpl/tpm-tools/bin/tpm_sealdata/Makefile +++ b/crypto/external/cpl/tpm-tools/bin/tpm_sealdata/Makefile @@ -1 +1,2 @@ .include "../Makefile.prog" +COPTS.tpm_sealdata.c+=-Wno-stack-protector diff --git a/crypto/external/cpl/tpm-tools/bin/tpm_unsealdata/Makefile b/crypto/external/cpl/tpm-tools/bin/tpm_unsealdata/Makefile index e2eb90f45ef2..e154bf64b191 100644 --- a/crypto/external/cpl/tpm-tools/bin/tpm_unsealdata/Makefile +++ b/crypto/external/cpl/tpm-tools/bin/tpm_unsealdata/Makefile @@ -1 +1,2 @@ .include "../Makefile.prog" +COPTS.tpm_unsealdata.c+=-Wno-stack-protector diff --git a/crypto/external/cpl/tpm-tools/lib/libtpm_unseal/Makefile b/crypto/external/cpl/tpm-tools/lib/libtpm_unseal/Makefile index dbcc0d70323d..6395f4da58f9 100644 --- a/crypto/external/cpl/tpm-tools/lib/libtpm_unseal/Makefile +++ b/crypto/external/cpl/tpm-tools/lib/libtpm_unseal/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2012/11/04 19:45:58 christos Exp $ +# $NetBSD: Makefile,v 1.3 2016/07/25 06:20:26 christos Exp $ .include "../Makefile.inc" .PATH.c: ${DIST}/lib @@ -11,5 +11,6 @@ SHLIB_MAJOR=1 SHLIB_MINOR=0 LIBDPLIBS+=tspi ${.CURDIR}/../../../trousers/lib/libtspi +COPTS.tpm_unseal.c+=-Wno-stack-protector .include diff --git a/crypto/external/cpl/tpm-tools/lib/libtpm_utils/Makefile b/crypto/external/cpl/tpm-tools/lib/libtpm_utils/Makefile index 41ddeb7eaf3f..21998efc7aa6 100644 --- a/crypto/external/cpl/tpm-tools/lib/libtpm_utils/Makefile +++ b/crypto/external/cpl/tpm-tools/lib/libtpm_utils/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.1 2012/01/28 16:04:15 christos Exp $ +# $NetBSD: Makefile,v 1.2 2016/07/25 06:20:26 christos Exp $ LIBISPRIVATE=yes @@ -12,4 +12,6 @@ tpm_log.c \ tpm_tspi.c \ tpm_utils.c +COPTS.tpm_utils.c+=-Wno-stack-protector + .include