1
0
Fork 1
mirror of https://github.com/NixOS/nixpkgs.git synced 2024-11-26 07:31:20 +00:00
nixpkgs/pkgs/build-support/setup-hooks/ld-is-cc-hook.sh
Orivej Desh e2c8655405 ld-is-cc-hook: init
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.
2017-12-19 01:45:42 +00:00

6 lines
67 B
Bash

ld-is-cc-hook() {
LD=$CC
}
preConfigureHooks+=(ld-is-cc-hook)