Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 662552 - sys-fabric/infiniband-psm does not respect neither CC neither CFLAGS/LDFLAGS
Summary: sys-fabric/infiniband-psm does not respect neither CC neither CFLAGS/LDFLAGS
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Cluster Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: cflags tc-directly ldflags
  Show dependency tree
 
Reported: 2018-07-31 21:43 UTC by David Carlos Manuelda
Modified: 2021-05-20 07:11 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
respect toolchain variables (respect-cc-and-cflags.patch,865 bytes, patch)
2018-07-31 21:43 UTC, David Carlos Manuelda
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Carlos Manuelda 2018-07-31 21:43:34 UTC
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