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:
Orivej Desh
2017-12-19 01:45:42 +00:00
parent 170a964815
commit e2c8655405
2 changed files with 8 additions and 0 deletions
@@ -0,0 +1,5 @@
ld-is-cc-hook() {
LD=$CC
}
preConfigureHooks+=(ld-is-cc-hook)