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
```
error "No ABI matched, please report a bug to bugs.gentoo.org"
```

There is already a workaround for Swig in the template.
I propose extending this workaround with a very small change, replacing
```
#elif defined(SWIG)
```
with
```
#elif defined(SWIG) || defined(__GLASGOW_HASKELL__)
```
in the template inside the eclass.

If everybody's happy with that, I'll be also happy to open a PR with
that change.

-- 
  Georg Rudoy

Reply via email to