From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <gentoo-commits+bounces-1333464-garchives=archives.gentoo.org@lists.gentoo.org>
Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by finch.gentoo.org (Postfix) with ESMTPS id 40ADC158086
	for <garchives@archives.gentoo.org>; Mon, 25 Oct 2021 13:01:14 +0000 (UTC)
Received: from pigeon.gentoo.org (localhost [127.0.0.1])
	by pigeon.gentoo.org (Postfix) with SMTP id 90AFCE07FA;
	Mon, 25 Oct 2021 13:01:12 +0000 (UTC)
Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by pigeon.gentoo.org (Postfix) with ESMTPS id 7AF1CE07FA
	for <gentoo-commits@lists.gentoo.org>; Mon, 25 Oct 2021 13:01:12 +0000 (UTC)
Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84])
	(using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits))
	(No client certificate requested)
	by smtp.gentoo.org (Postfix) with ESMTPS id 5ABA6343534
	for <gentoo-commits@lists.gentoo.org>; Mon, 25 Oct 2021 13:01:11 +0000 (UTC)
Received: from localhost.localdomain (localhost [IPv6:::1])
	by oystercatcher.gentoo.org (Postfix) with ESMTP id C8945165
	for <gentoo-commits@lists.gentoo.org>; Mon, 25 Oct 2021 13:01:09 +0000 (UTC)
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Content-Transfer-Encoding: 8bit
Content-type: text/plain; charset=UTF-8
Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" <sam@gentoo.org>
Message-ID: <1635166853.fce1a7679fe7e09f4a8e930df1e692a4274346b1.sam@gentoo>
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-lang/tcc/
X-VCS-Repository: repo/gentoo
X-VCS-Files: dev-lang/tcc/tcc-0.9.27_p20211022.ebuild dev-lang/tcc/tcc-9999.ebuild
X-VCS-Directories: dev-lang/tcc/
X-VCS-Committer: sam
X-VCS-Committer-Name: Sam James
X-VCS-Revision: fce1a7679fe7e09f4a8e930df1e692a4274346b1
X-VCS-Branch: master
Date: Mon, 25 Oct 2021 13:01:09 +0000 (UTC)
Precedence: bulk
List-Post: <mailto:gentoo-commits@lists.gentoo.org>
List-Help: <mailto:gentoo-commits+help@lists.gentoo.org>
List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org>
List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org>
List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org>
X-BeenThere: gentoo-commits@lists.gentoo.org
X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply
X-Archives-Salt: 75096b0f-107a-4c5a-aab9-bf1915b4433d
X-Archives-Hash: db07bacf9f9854e6cfeeb9f0bcedf338

commit:     fce1a7679fe7e09f4a8e930df1e692a4274346b1
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Oct 25 12:59:08 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Oct 25 13:00:53 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fce1a767

dev-lang/tcc: respect LDFLAGS, no pre-stripping

Two for the price of one!

Bug: https://bugs.gentoo.org/820200
Closes: https://bugs.gentoo.org/820191
Closes: https://bugs.gentoo.org/820188
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-lang/tcc/tcc-0.9.27_p20211022.ebuild | 2 +-
 dev-lang/tcc/tcc-9999.ebuild             | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
index fd9f2d5cc30..6d413376268 100644
--- a/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
+++ b/dev-lang/tcc/tcc-0.9.27_p20211022.ebuild
@@ -68,7 +68,7 @@ src_configure() {
 }
 
 src_compile() {
-	emake AR="$(tc-getAR)"
+	emake AR="$(tc-getAR)" LDFLAGS="${LDFLAGS}"
 }
 
 src_test() {

diff --git a/dev-lang/tcc/tcc-9999.ebuild b/dev-lang/tcc/tcc-9999.ebuild
index fd9f2d5cc30..6d413376268 100644
--- a/dev-lang/tcc/tcc-9999.ebuild
+++ b/dev-lang/tcc/tcc-9999.ebuild
@@ -68,7 +68,7 @@ src_configure() {
 }
 
 src_compile() {
-	emake AR="$(tc-getAR)"
+	emake AR="$(tc-getAR)" LDFLAGS="${LDFLAGS}"
 }
 
 src_test() {