diff options
author | Fabrice Fontaine <fontaine.fabrice@gmail.com> | 2019-03-26 18:27:04 +0100 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2019-03-28 10:47:59 +0100 |
commit | d6c086a50e540d955f8dc037d44ca416a74e9fde (patch) | |
tree | 42233b606978e221e0c064e0d94ee3e9aa3afa9f /package/hdparm | |
parent | 2f44db555460a2793a52485a5c46eaa36ab4ca11 (diff) | |
download | buildroot-d6c086a50e540d955f8dc037d44ca416a74e9fde.tar.gz buildroot-d6c086a50e540d955f8dc037d44ca416a74e9fde.zip |
package/git: use pkg-config to get ssl dependencies
On some architectures, atomic binutils are provided by the libatomic
library from gcc. Linking with libatomic is therefore necessary,
otherwise the build fails with:
/home/test/autobuild/run/instance-2/output/host/sparc-buildroot-linux-uclibc/sysroot/usr/lib/libssl.a(ssl_cert.o): In function `CRYPTO_DOWN_REF':
/home/test/autobuild/run/instance-2/output/build/libopenssl-1.1.1a/include/internal/refcount.h:50: undefined reference to `__atomic_fetch_sub_4'
This is often for example the case on sparcv8 32 bit.
To fix this issue, use pkg-config to retrieve openssl dependencies
including atomic library, these dependencies must be passed to
LIB_4_CRYPTO IN GIT_MAKE_OPTS
Fixes:
- http://autobuild.buildroot.org/results/3093897d14a854a7252b25b2fa1f8fdcbb26c9b7
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 1ae9640a9fc11c315aeb989941d9555065da8b24)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Diffstat (limited to 'package/hdparm')
0 files changed, 0 insertions, 0 deletions