Re: [gentoo-dev] ghc support in multilib-build.eclass

2023-08-09 Thread Michał Górny
On Wed, 2023-08-09 at 18:42 -0500, Georg Rudoy wrote: > Hi, > > Right now, the configuration header generated for packages like > openssl by multilib-build.eclass doesn't play nicely with ghc. > Long story short, ghc runs `gcc -E` with `-undef`, which causes the > `#if defined(__x86_64__)` branch

[gentoo-dev] ghc support in multilib-build.eclass

2023-08-09 Thread Georg Rudoy
Hi, Right now, the configuration header generated for packages like openssl by multilib-build.eclass doesn't play nicely with ghc. Long story short, ghc runs `gcc -E` with `-undef`, which causes the `#if defined(__x86_64__)` branch (or whatever is the relevant one) to be missed, falling back to ``