From a725a13101ab80436245817a4e4471c6e796f3b0 Mon Sep 17 00:00:00 2001 From: Sergey Torokhov Date: Tue, 21 Apr 2020 15:30:27 +0300 Subject: [PATCH] dev-libs/StringiFor: remove check if FFLAGS is empty Because the FFLAGS is presented by default in profile [1] the check "if FFLAGS is empty" is removed. [1] https://bugs.gentoo.org/575446 Signed-off-by: Sergey Torokhov --- dev-libs/StringiFor/StringiFor-1.1.1.ebuild | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/dev-libs/StringiFor/StringiFor-1.1.1.ebuild b/dev-libs/StringiFor/StringiFor-1.1.1.ebuild index 0147bfa8d9..4bd3e3887a 100644 --- a/dev-libs/StringiFor/StringiFor-1.1.1.ebuild +++ b/dev-libs/StringiFor/StringiFor-1.1.1.ebuild @@ -67,9 +67,7 @@ src_prepare() { mv -T "${WORKDIR}"/PENF-"${PENF_sha}" "${S}"/src/third_party/PENF default - if [ "${FFLAGS}" ] ; then - sed -i -e 's:\$OPTIMIZE = -O2:\$OPTIMIZE = '"${FFLAGS}"':' fobos || die - fi + sed -i -e 's:\$OPTIMIZE = -O2:\$OPTIMIZE = '"${FFLAGS}"':' fobos || die } src_compile() {