1 |
Am Samstag, 25. November 2017, 15:01:20 CET schrieb Anthony G. Basile: |
2 |
> Hi everyone, |
3 |
> |
4 |
> With the stabilization of gcc-6.4.0, the uclibc build broke because the |
5 |
> eclass requires UCLIBC_VER to be define on uclibc systems else it will |
6 |
> die(). Since uclibc specific patches are no longer needed in gcc-6 and |
7 |
> above, we don't want to error out in the eclass when the patchset is not |
8 |
> found. |
9 |
> |
10 |
|
11 |
I'd guard this so it only applies to gcc-6 and later... for the simple reason that |
12 |
otherwise people will try to emerge some historical gcc versions and fail.. |
13 |
|
14 |
Otherwise WFM |
15 |
|
16 |
diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass |
17 |
index 503f7dbe94f..58d859dfaf3 100644 |
18 |
--- a/eclass/toolchain.eclass |
19 |
+++ b/eclass/toolchain.eclass |
20 |
@@ -378,9 +378,6 @@ toolchain_pkg_pretend() { |
21 |
"in your make.conf if you want to use this |
22 |
version." |
23 |
fi |
24 |
|
25 |
- [[ -z ${UCLIBC_VER} ]] && [[ ${CTARGET} == *-uclibc* ]] && \ |
26 |
- die "Sorry, this version does not support uClibc" |
27 |
- |
28 |
if ! use_if_iuse cxx ; then |
29 |
use_if_iuse go && ewarn 'Go requires a C++ compiler, |
30 |
disabled due to USE="-cxx"' |
31 |
use_if_iuse objc++ && ewarn 'Obj-C++ requires a C++ |
32 |
compiler, disabled due to USE="-cxx"' |
33 |
-- |
34 |
2.13.6 |
35 |
|
36 |
|
37 |
|
38 |
|
39 |
> Note that there are some musl specific patches which I would like to |
40 |
> migrate out of the overlay and into the tree. In a future patch, I'd |
41 |
> like to duplicate the uclibc code for musl in toolchain.eclass. |
42 |
> |
43 |
> Feedback welcome. |
44 |
|
45 |
|
46 |
-- |
47 |
Andreas K. Hüttel |
48 |
dilfridge@g.o |
49 |
Gentoo Linux developer (council, perl, libreoffice) |