commit:     52c44e18ccdc716c5ef2d8bd969bafc43f6fbca8
Author:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
AuthorDate: Thu Dec  7 18:27:42 2017 +0000
Commit:     Alon Bar-Lev <alonbl <AT> gentoo <DOT> org>
CommitDate: Mon Dec 11 16:35:37 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=52c44e18

app-crypt/tpm-emulator: allow fallthrough

Gentoo-Bug: https://bugs.gentoo.org/show_bug.cgi?id=640200
Package-Manager: Portage-2.3.13, Repoman-2.3.3

 app-crypt/tpm-emulator/tpm-emulator-0.7.4-r1.ebuild | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/app-crypt/tpm-emulator/tpm-emulator-0.7.4-r1.ebuild 
b/app-crypt/tpm-emulator/tpm-emulator-0.7.4-r1.ebuild
index 8f55dd6e71a..3bd4cc56bd5 100644
--- a/app-crypt/tpm-emulator/tpm-emulator-0.7.4-r1.ebuild
+++ b/app-crypt/tpm-emulator/tpm-emulator-0.7.4-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=6
 MODULES_OPTIONAL_USE="modules"
-inherit user linux-mod cmake-utils udev
+inherit flag-o-matic user linux-mod cmake-utils udev
 
 MY_P=${P/-/_}
 DESCRIPTION="Emulator driver for tpm"
@@ -46,6 +46,7 @@ src_configure() {
        local mycmakeargs=(
                -DUSE_OPENSSL=$(usex ssl)
        )
+       append-cflags -Wno-implicit-fallthrough
        cmake-utils_src_configure
 
        # only here we have BUILD_DIR

Reply via email to