mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-23 14:11:36 +00: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)
|