diff options
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. |