Summary: | sys-fabric/infiniband-psm does not respect neither CC neither CFLAGS/LDFLAGS | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | David Carlos Manuelda <StormByte> |
Component: | Current packages | Assignee: | Gentoo Cluster Team <cluster> |
Status: | UNCONFIRMED --- | ||
Severity: | normal | CC: | esigra |
Priority: | Normal | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 59506, 243502, 331933 | ||
Attachments: | respect toolchain variables |
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