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.
wip/yesman
Orivej Desh 7 years ago
parent 170a964815
commit e2c8655405
  1. 5
      pkgs/build-support/setup-hooks/ld-is-cc-hook.sh
  2. 3
      pkgs/top-level/all-packages.nix

@ -0,0 +1,5 @@
ld-is-cc-hook() {
LD=$CC
}
preConfigureHooks+=(ld-is-cc-hook)

@ -287,6 +287,9 @@ with pkgs;
inherit url;
};
ld-is-cc-hook = makeSetupHook { name = "ld-is-cc-hook"; }
../build-support/setup-hooks/ld-is-cc-hook.sh;
libredirect = callPackage ../build-support/libredirect { };
madonctl = callPackage ../applications/misc/madonctl { };

Loading…
Cancel
Save