diff --git a/meta-tpm/recipes-tpm/trousers/trousers_git.bb b/meta-tpm/recipes-tpm/trousers/trousers_git.bb index f899f5e..601d35d 100644 --- a/meta-tpm/recipes-tpm/trousers/trousers_git.bb +++ b/meta-tpm/recipes-tpm/trousers/trousers_git.bb @@ -38,6 +38,9 @@ inherit autotools pkgconfig useradd update-rc.d \ EXTRA_OECONF="--with-gui=none" +# Fix build failure for gcc-10 +CFLAGS_append = " -fcommon" + PACKAGECONFIG ?= "gmp " PACKAGECONFIG[gmp] = "--with-gmp, --with-gmp=no, gmp" PACKAGECONFIG[gtk] = "--with-gui=gtk, --with-gui=none, gtk+"