app-crypt/tpm-emulator: allow fallthrough
authorAlon Bar-Lev <alonbl@gentoo.org>
Thu, 7 Dec 2017 18:27:42 +0000 (20:27 +0200)
committerAlon Bar-Lev <alonbl@gentoo.org>
Mon, 11 Dec 2017 16:35:37 +0000 (18:35 +0200)
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

index 8f55dd6e71a8a9ba2e8cf40ebf1b504688a027fc..3bd4cc56bd52216f715991fde604d29c17d03212 100644 (file)
@@ -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