Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 683164 Details for
Bug 765652
dev-lang/tcc: support for musl and uclibc
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch to fix it
libc.patch (text/plain), 1.41 KB, created by
dm9pZCAq
on 2021-01-16 17:01:59 UTC
(
hide
)
Description:
patch to fix it
Filename:
MIME Type:
Creator:
dm9pZCAq
Created:
2021-01-16 17:01:59 UTC
Size:
1.41 KB
patch
obsolete
>diff --git a/dev-lang/tcc/tcc-0.9.27.ebuild b/dev-lang/tcc/tcc-0.9.27.ebuild >index 7090fdeb01d..c9341291912 100644 >--- a/dev-lang/tcc/tcc-0.9.27.ebuild >+++ b/dev-lang/tcc/tcc-0.9.27.ebuild >@@ -37,10 +37,16 @@ src_prepare() { > } > > src_configure() { >+ local libc >+ > use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise > # better fixes welcome, it feels wrong to hack the env like this >+ use elibc_musl && libc=musl >+ use elibc_uclibc && libc=uClibc >+ > # not autotools, so call configure directly > ./configure --cc="$(tc-getCC)" \ >+ ${libc:+--config-${libc}} \ > --prefix="${EPREFIX}/usr" \ > --libdir="${EPREFIX}/usr/$(get_libdir)" \ > --docdir="${EPREFIX}/usr/share/doc/${PF}" >diff --git a/dev-lang/tcc/tcc-9999.ebuild b/dev-lang/tcc/tcc-9999.ebuild >index 4c61d36c943..bf5636b0c35 100644 >--- a/dev-lang/tcc/tcc-9999.ebuild >+++ b/dev-lang/tcc/tcc-9999.ebuild >@@ -46,10 +46,16 @@ src_prepare() { > } > > src_configure() { >+ local libc >+ > use test && unset CFLAGS LDFLAGS # Tests run with CC=tcc etc, they will fail hard otherwise > # better fixes welcome, it feels wrong to hack the env like this >+ use elibc_musl && libc=musl >+ use elibc_uclibc && libc=uClibc >+ > # not autotools, so call configure directly > ./configure --cc="$(tc-getCC)" \ >+ ${libc:+--config-${libc}} \ > --prefix="${EPREFIX}/usr" \ > --libdir="${EPREFIX}/usr/$(get_libdir)" \ > --docdir="${EPREFIX}/usr/share/doc/${PF}"
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 765652
: 683164