Created attachment 541918 [details, diff]
respect toolchain variables
When playing with clang as system compiler, I found that sys-fabric/infiniband-psm does not respect system's compiler, cflags, ldflags and so via CC, CFLAGS, etc like everything in Gentoo does, thus, it forces to set its own flags and compiler with its autodetection.
Furthermore, ebuild EAPI is 5, so it does not even support user patches.
I attach patch for it to respect system's variables, knowing this is probably more upstream, yet I do not know this software enough (was pulled as a result of dependency of another thing)
Tested and compiled ok with clang-6 and gcc-7