Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: avoid using tc-getCPP in compiler checks

2025-02-05 Thread Mike Gilbert
On Wed, Feb 5, 2025 at 2:06 PM Ionen Wolkens wrote: > > On Wed, Feb 05, 2025 at 01:10:10PM -0500, Mike Gilbert wrote: > > We usually want to invoke cc -E rather than cpp directly. We should not > > rely on the quirk of tc-getCPP defaulting to "cc -E" when CPP is unset. > > I think it's a good chan

Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: avoid using tc-getCPP in compiler checks

2025-02-05 Thread Ionen Wolkens
On Wed, Feb 05, 2025 at 01:10:10PM -0500, Mike Gilbert wrote: > We usually want to invoke cc -E rather than cpp directly. We should not > rely on the quirk of tc-getCPP defaulting to "cc -E" when CPP is unset. I think it's a good change, but just to note it could break things that relied on CPP be

Re: [gentoo-dev] [PATCH] toolchain-funcs.eclass: avoid using tc-getCPP in compiler checks

2025-02-05 Thread James Le Cuirot
On Wed, 2025-02-05 at 13:10 -0500, Mike Gilbert wrote: > We usually want to invoke cc -E rather than cpp directly. We should not > rely on the quirk of tc-getCPP defaulting to "cc -E" when CPP is unset. > > Resolves a warning when CPP is set to llvm-cpp, which does not accept > the -E option. > >

[gentoo-dev] [PATCH] toolchain-funcs.eclass: avoid using tc-getCPP in compiler checks

2025-02-05 Thread Mike Gilbert
We usually want to invoke cc -E rather than cpp directly. We should not rely on the quirk of tc-getCPP defaulting to "cc -E" when CPP is unset. Resolves a warning when CPP is set to llvm-cpp, which does not accept the -E option. Closes: https://bugs.gentoo.org/949340 Signed-off-by: Mike Gilbert

[gentoo-dev] [PATCH] */*: remove generic USE=sndio

2025-02-05 Thread Filip Kobierski
Signed-off-by: Filip Kobierski --- games-emulation/pcsx2/metadata.xml | 1 - mail-client/thunderbird/metadata.xml | 1 - media-libs/cubeb/metadata.xml| 3 --- media-libs/libao/metadata.xml| 3 --- media-libs/libsdl2/metadata.xml | 1 - media-libs/openal/metadata.xml |

[gentoo-dev] [PATCH] profiles: Add a global USE=sndio

2025-02-05 Thread Filip Kobierski
Signed-off-by: Filip Kobierski --- profiles/use.desc | 1 + 1 file changed, 1 insertion(+) diff --git a/profiles/use.desc b/profiles/use.desc index 36468b321dd..18ca3828786 100644 --- a/profiles/use.desc +++ b/profiles/use.desc @@ -305,6 +305,7 @@ smartcard - Enable smartcard support smp - Enab

[gentoo-dev] [RFC] [PATCH] Making USE=sndio global

2025-02-05 Thread Filip Kobierski
Hi all, as it has been over a month since my initial RFC and I have recieved no responses I have decided to prepare the patches. My first idea was for the use.desc to be "Enable support for the sndio backend" but looking at it now I thought I can do better so I came up with "Add support for OpenBS