From: Alon Bar-Lev Date: Thu, 7 Dec 2017 18:27:42 +0000 (+0200) Subject: app-crypt/tpm-emulator: allow fallthrough X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=52c44e18ccdc716c5ef2d8bd969bafc43f6fbca8;p=gentoo.git 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 --- 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 8f55dd6e71a8..3bd4cc56bd52 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