diff --git a/dev-cpp/gflags/gflags-2.2.2-r1.ebuild b/dev-cpp/gflags/gflags-2.2.2-r1.ebuild index 18fb86aaeba61..a841f16304c35 100644 --- a/dev-cpp/gflags/gflags-2.2.2-r1.ebuild +++ b/dev-cpp/gflags/gflags-2.2.2-r1.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake-multilib +inherit cmake-multilib flag-o-matic if [[ ${PV} == *9999* ]]; then inherit git-r3 @@ -25,6 +25,8 @@ RESTRICT="!test? ( test )" DOCS=( ChangeLog.txt README.md ) multilib_src_configure() { + append-lfs-flags + local mycmakeargs=( -DBUILD_STATIC_LIBS=$(usex static-libs) -DBUILD_TESTING=$(usex test) diff --git a/dev-cpp/gflags/gflags-9999.ebuild b/dev-cpp/gflags/gflags-9999.ebuild index 6f555f396a025..a6c7626265c09 100644 --- a/dev-cpp/gflags/gflags-9999.ebuild +++ b/dev-cpp/gflags/gflags-9999.ebuild @@ -3,7 +3,7 @@ EAPI=8 -inherit cmake-multilib +inherit cmake-multilib flag-o-matic if [[ ${PV} == *9999* ]]; then inherit git-r3 @@ -25,6 +25,8 @@ RESTRICT="!test? ( test )" DOCS=( ChangeLog.txt README.md ) multilib_src_configure() { + append-lfs-flags + local mycmakeargs=( -DBUILD_STATIC_LIBS=$(usex static-libs) -DBUILD_TESTING=$(usex test)