diff options
author | Cem Keylan <cem@ckyln.com> | 2020-12-27 21:25:09 +0300 |
---|---|---|
committer | Cem Keylan <cem@ckyln.com> | 2020-12-27 21:25:09 +0300 |
commit | bf0a3ff84564c809bdee68b58afe852b6a4dd233 (patch) | |
tree | c4c7a17799be5a803bf54a147d92b0fe885d8664 /core/bearssl | |
parent | 8d9702f91e80063c9edd592ecf17bc22a4bb4a9e (diff) | |
download | repository-bf0a3ff84564c809bdee68b58afe852b6a4dd233.tar.gz |
bearssl: fix cross build
Diffstat (limited to 'core/bearssl')
-rwxr-xr-x | core/bearssl/build | 2 |
1 files changed, 2 insertions, 0 deletions
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. |