Hi Richard, On 06.02.18 11:32 Richard Biener wrote:
Simply do not re-build gcc ;)
I would prefer not to ;-)
Use what is available - SLE12 should also have gcc7-go via the toolchain module now.
But how to build against that in OBS? Or did I just miss Substituting "gcc-go" with "gcc7-go" and only tried substituting it with gcc5-go?
Short answer to your question above: there are multiple .spec files involved in a GCC build and libjava is built from a different one than go.
Thanks for the answer to the java-or-go question. As for the original question, was it by chance that changing the %define lines did get me a working gcc5-go package? Or what is the normal process? Not that I plan to do this frequently, but I'd like to understand the mechanism behind all the %define stuff... ;-) Johannes