diff options
-rw-r--r-- | meta-tpm/recipes-tpm/trousers/trousers_git.bb | 3 |
1 files changed, 3 insertions, 0 deletions
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 \ | |||
38 | 38 | ||
39 | EXTRA_OECONF="--with-gui=none" | 39 | EXTRA_OECONF="--with-gui=none" |
40 | 40 | ||
41 | # Fix build failure for gcc-10 | ||
42 | CFLAGS_append = " -fcommon" | ||
43 | |||
41 | PACKAGECONFIG ?= "gmp " | 44 | PACKAGECONFIG ?= "gmp " |
42 | PACKAGECONFIG[gmp] = "--with-gmp, --with-gmp=no, gmp" | 45 | PACKAGECONFIG[gmp] = "--with-gmp, --with-gmp=no, gmp" |
43 | PACKAGECONFIG[gtk] = "--with-gui=gtk, --with-gui=none, gtk+" | 46 | PACKAGECONFIG[gtk] = "--with-gui=gtk, --with-gui=none, gtk+" |