Subject: [bug#40164] Fix for libgccjit

From: Ludovic Courtès <[email-masked]>
Date: Sun, 22 Mar 2020 21:54:06 +0100

Hi,

(+Cc bug.)

Formbi <[email-masked]> skribis:

>> I think this has no effect because this ‘native-search-paths’ is already
>> inherited from ‘gcc-9’, which ‘libgccjit’ inherits from.
>
> Nope, it does have an effect. I added "lib/gcc" to the original paths (and that was the needed thing).

In that case, could you (1) arrange to write the search path in a way
that reuses (package-native-search-paths gcc-9), and (2) add a comment
explaining why “lib/gcc” is needed (it looks unusual)?

Thanks in advance,
Ludo’.