mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-12-26 04:43:09 +03:00
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.
This commit is contained in:
parent
170a964815
commit
e2c8655405
5
pkgs/build-support/setup-hooks/ld-is-cc-hook.sh
Normal file
5
pkgs/build-support/setup-hooks/ld-is-cc-hook.sh
Normal file
@ -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…
Reference in New Issue
Block a user