[Buildroot] [PATCH 1/1] openssl: pass LDFLAGS to fix incorrect link
Peter Korsgaard
jacmet at uclibc.org
Mon Feb 7 13:34:51 UTC 2011
>>>>> "Thomas" == Thomas Petazzoni <thomas.petazzoni at free-electrons.com> writes:
Thomas> We already pass the LD variable to openssl in order to use gcc as the
Thomas> driver for the link process, instead of directly using the ld
Thomas> linker. However, we were not passing LDFLAGS so that the compiler
Thomas> flags are passed, which means that with multilib toolchains, the
Thomas> incorrect library variant could be used at link time, leading to
Thomas> invalid binaries (partly ARMv4, partly ARMv5) or broken compilation
Thomas> (when the build took place in soft-float, but the link stage takes
Thomas> place against hard-float libraries).
Committed, thanks.
--
Bye, Peter Korsgaard
More information about the buildroot
mailing list