openssh: unset LD
Commit 093cc00cdd9d8cf31ecce5bc1dd3645c460a1b98, sets the LD environment variable by default, but this confuses the openssh Makefile because `configure' does not respect it.
This commit is contained in:
parent
7d010ab5f4
commit
c1c314c36f
@ -60,6 +60,12 @@ stdenv.mkDerivation rec {
|
|||||||
++ optional withKerberos kerberos
|
++ optional withKerberos kerberos
|
||||||
++ optional hpnSupport autoreconfHook;
|
++ optional hpnSupport autoreconfHook;
|
||||||
|
|
||||||
|
preConfigure = ''
|
||||||
|
# Setting LD causes `configure' and `make' to disagree about which linker
|
||||||
|
# to use: `configure' wants `gcc', but `make' wants `ld'.
|
||||||
|
unset LD
|
||||||
|
'';
|
||||||
|
|
||||||
# I set --disable-strip because later we strip anyway. And it fails to strip
|
# I set --disable-strip because later we strip anyway. And it fails to strip
|
||||||
# properly when cross building.
|
# properly when cross building.
|
||||||
configureFlags = [
|
configureFlags = [
|
||||||
|
Loading…
x
Reference in New Issue
Block a user