public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Mikle Kolyada" <zlogene@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/
Date: Thu, 16 Jul 2020 08:45:27 +0000 (UTC)	[thread overview]
Message-ID: <1594889121.a62b633c5c4c9963162355f1be96c7c28ced1f9b.zlogene@gentoo> (raw)

commit:     a62b633c5c4c9963162355f1be96c7c28ced1f9b
Author:     Stephan Hartmann <stha09 <AT> googlemail <DOT> com>
AuthorDate: Sun Jul  5 11:38:20 2020 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Thu Jul 16 08:45:21 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a62b633c

mail-filter/procmail: fix building with clang

Closes: https://bugs.gentoo.org/730846
Package-Manager: Portage-2.3.99, Repoman-2.3.22
Signed-off-by: Stephan Hartmann <stha09 <AT> googlemail.com>
Closes: https://github.com/gentoo/gentoo/pull/16595
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 mail-filter/procmail/procmail-3.22-r14.ebuild | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/mail-filter/procmail/procmail-3.22-r14.ebuild b/mail-filter/procmail/procmail-3.22-r14.ebuild
index 3abc7cf7a8a..1d902b0f862 100644
--- a/mail-filter/procmail/procmail-3.22-r14.ebuild
+++ b/mail-filter/procmail/procmail-3.22-r14.ebuild
@@ -69,10 +69,8 @@ src_compile() {
 	# To work around this, we append -fno-inline-functions to CFLAGS
 	# Since GCC 4.7 we also need -fno-ipa-cp-clone (bug #466552)
 	# If it's clang, ignore -fno-ipa-cp-clone, as clang doesn't support this
-	case "$(tc-getCC)" in
-		"clang") append-flags -fno-inline-functions ;;
-		"gcc"|*) append-flags -fno-inline-functions -fno-ipa-cp-clone ;;
-	esac
+	append-flags -fno-inline-functions
+	tc-is-clang || append-flags -fno-ipa-cp-clone
 
 	sed -e "s|CFLAGS0 = -O|CFLAGS0 = ${CFLAGS}|" \
 		-e "s|LDFLAGS0= -s|LDFLAGS0 = ${LDFLAGS}|" \


             reply	other threads:[~2020-07-16  8:45 UTC|newest]

Thread overview: 42+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-07-16  8:45 Mikle Kolyada [this message]
  -- strict thread matches above, loose matches on Subject: below --
2024-12-06 20:14 [gentoo-commits] repo/gentoo:master commit in: mail-filter/procmail/ Sam James
2024-11-01  6:37 Joonas Niilola
2024-11-01  6:35 Arthur Zamarin
2024-11-01  2:55 Sam James
2024-11-01  2:55 Sam James
2024-10-31 21:29 Sam James
2024-10-31 19:32 Arthur Zamarin
2024-01-22 13:12 Sam James
2024-01-13 17:39 Sam James
2024-01-13 14:30 Sam James
2024-01-13 12:49 Arthur Zamarin
2024-01-13 12:49 Arthur Zamarin
2024-01-13 12:49 Arthur Zamarin
2023-12-02  7:13 Sam James
2022-06-03  8:11 Fabian Groffen
2021-07-23 18:28 Marek Szuba
2021-04-20 11:39 Mikle Kolyada
2021-01-06 13:50 Fabian Groffen
2020-02-21 18:33 Mikle Kolyada
2019-09-15 20:50 Mikle Kolyada
2019-04-06 16:40 Mikle Kolyada
2019-04-06 16:40 Mikle Kolyada
2019-04-06 16:40 Mikle Kolyada
2019-04-06 16:40 Mikle Kolyada
2019-04-06 16:40 Mikle Kolyada
2019-04-06 16:40 Mikle Kolyada
2019-04-06 16:40 Mikle Kolyada
2019-04-06 16:40 Mikle Kolyada
2019-04-02  9:41 Mikle Kolyada
2019-04-02  9:41 Mikle Kolyada
2019-04-02  1:37 Thomas Deutschmann
2019-03-28  7:01 Mikle Kolyada
2019-03-26 22:44 Aaron Bauman
2019-03-26 21:09 Sergei Trofimovich
2019-03-25 22:18 Sergei Trofimovich
2019-03-25 11:49 Mikle Kolyada
2019-03-24 20:12 Sergei Trofimovich
2019-03-24 19:44 Sergei Trofimovich
2019-03-24 12:02 Richard Freeman
2017-10-02  7:10 Fabian Groffen
2016-06-15  3:35 Austin English

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1594889121.a62b633c5c4c9963162355f1be96c7c28ced1f9b.zlogene@gentoo \
    --to=zlogene@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox