mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-06 18:26:45 +01:00
e2c8655405
This hook sets LD to CC, for use with software that works as if LD=$CC when LD is unset, and does not work when LD=ld.
6 lines
67 B
Bash
6 lines
67 B
Bash
ld-is-cc-hook() {
|
|
LD=$CC
|
|
}
|
|
|
|
preConfigureHooks+=(ld-is-cc-hook)
|