mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-16 14:54:29 +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.
5 lines
67 B
Bash
5 lines
67 B
Bash
ld-is-cc-hook() {
|
|
LD=$CC
|
|
}
|
|
|
|
preConfigureHooks+=(ld-is-cc-hook)
|