* [Buildroot] [PATCH next] tpm2-tss: fix build without stack smashing protection (SSP)
@ 2018-11-19 2:26 Carlos Santos
2018-11-19 20:51 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Carlos Santos @ 2018-11-19 2:26 UTC (permalink / raw)
To: buildroot
Restore a configuration environment setup that was incorrectly removed
along with the upgrade to version 2.1.0.
Fixes:
http://autobuild.buildroot.net/results/44221140fb8e2ddcb7d624e657b92a59375c02dd
http://autobuild.buildroot.net/results/08b2a8a4bdd1c38703626a4fc37dab31dce98f49
http://autobuild.buildroot.net/results/e469b47a6c8f1e8812325fd2860345105052316c
http://autobuild.buildroot.net/results/f230fe6bbeb8b22d2b5b7cfb3f0ac4b3b936dc37
http://autobuild.buildroot.net/results/ceb824033888086f6dde22c66d5b5f692a253c7e
http://autobuild.buildroot.net/results/f863947a7384cb754706e6c346d222be59ad4136
Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
---
package/tpm2-tss/tpm2-tss.mk | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/package/tpm2-tss/tpm2-tss.mk b/package/tpm2-tss/tpm2-tss.mk
index 3bb0702916..f005e5d6b8 100644
--- a/package/tpm2-tss/tpm2-tss.mk
+++ b/package/tpm2-tss/tpm2-tss.mk
@@ -12,4 +12,8 @@ TPM2_TSS_INSTALL_STAGING = YES
TPM2_TSS_DEPENDENCIES = liburiparser openssl host-pkgconf
TPM2_TSS_CONF_OPTS = --with-crypto=ossl --disable-doxygen-doc
+# configure.ac doesn't contain a link test, so it doesn't detect when
+# libssp is missing.
+TPM2_TSS_CONF_ENV = ax_cv_check_cflags___________Wall__Werror_______fstack_protector_all=$(if $(BR2_TOOLCHAIN_HAS_SSP),yes,no)
+
$(eval $(autotools-package))
--
2.19.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH next] tpm2-tss: fix build without stack smashing protection (SSP)
2018-11-19 2:26 [Buildroot] [PATCH next] tpm2-tss: fix build without stack smashing protection (SSP) Carlos Santos
@ 2018-11-19 20:51 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2018-11-19 20:51 UTC (permalink / raw)
To: buildroot
Hello,
On Mon, 19 Nov 2018 00:26:24 -0200, Carlos Santos wrote:
> Restore a configuration environment setup that was incorrectly removed
> along with the upgrade to version 2.1.0.
>
> Fixes:
> http://autobuild.buildroot.net/results/44221140fb8e2ddcb7d624e657b92a59375c02dd
> http://autobuild.buildroot.net/results/08b2a8a4bdd1c38703626a4fc37dab31dce98f49
> http://autobuild.buildroot.net/results/e469b47a6c8f1e8812325fd2860345105052316c
> http://autobuild.buildroot.net/results/f230fe6bbeb8b22d2b5b7cfb3f0ac4b3b936dc37
> http://autobuild.buildroot.net/results/ceb824033888086f6dde22c66d5b5f692a253c7e
> http://autobuild.buildroot.net/results/f863947a7384cb754706e6c346d222be59ad4136
>
> Signed-off-by: Carlos Santos <casantos@datacom.ind.br>
> ---
> package/tpm2-tss/tpm2-tss.mk | 4 ++++
> 1 file changed, 4 insertions(+)
Applied to next, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2018-11-19 20:51 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-11-19 2:26 [Buildroot] [PATCH next] tpm2-tss: fix build without stack smashing protection (SSP) Carlos Santos
2018-11-19 20:51 ` Thomas Petazzoni
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox