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() {

Reply via email to