From bf0a3ff84564c809bdee68b58afe852b6a4dd233 Mon Sep 17 00:00:00 2001 From: Cem Keylan Date: Sun, 27 Dec 2020 21:25:09 +0300 Subject: bearssl: fix cross build --- core/bearssl/build | 2 ++ 1 file changed, 2 insertions(+) diff --git a/core/bearssl/build b/core/bearssl/build index c0e5e7f2..9d84822d 100755 --- a/core/bearssl/build +++ b/core/bearssl/build @@ -9,6 +9,8 @@ kinstall() { chmod "$1" "$3" } +[ "$CPT_CROSS_TRIPLET" ] && CC=$CPT_CROSS_TRIPLET-cc AR=$CPT_CROSS_TRIPLET + make "CC=${CC:=cc}" "AR=${AR:=ar}" LD=$CC # Build static binary for bearssl, word splitting on CFLAGS is intentional. -- cgit v1.2.3