kumquat-buildroot/package/openssh
Thomas Petazzoni c761eafb02 openssl: pass LDFLAGS to fix incorrect link
We already pass the LD variable to openssl in order to use gcc as the
driver for the link process, instead of directly using the ld
linker. However, we were not passing LDFLAGS so that the compiler
flags are passed, which means that with multilib toolchains, the
incorrect library variant could be used at link time, leading to
invalid binaries (partly ARMv4, partly ARMv5) or broken compilation
(when the build took place in soft-float, but the link stage takes
place against hard-float libraries).

This fixes a problem reported on IRC by amo-ej1 when compiling ssh on
PowerPC e500v2 with a CodeSourcery toolchain ("crtbegin.o uses hard
float, sshd uses soft float").

Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <jacmet@sunsite.dk>
2011-02-07 14:34:28 +01:00
..
Config.in
openssh-drop-SUSv3-legacy.patch openssh: bump to version 5.6p1 2010-11-18 22:09:42 +01:00
openssh.mk openssl: pass LDFLAGS to fix incorrect link 2011-02-07 14:34:28 +01:00
S50sshd