aboutsummaryrefslogtreecommitdiff
path: root/extra/bearssl/build
diff options
context:
space:
mode:
authorCem Keylan <cem@ckyln.com>2020-09-16 01:04:44 +0300
committerCem Keylan <cem@ckyln.com>2020-09-16 01:04:44 +0300
commitaf3e24bee26eb0cbbab683c2f37a3f49bf1338ee (patch)
treea5b8dbeab4441f033cca5cf8d48f4ebf7bebb89f /extra/bearssl/build
parent50e2b1c8a75f78920991761b61fc59d23b6f910a (diff)
downloadrepository-af3e24bee26eb0cbbab683c2f37a3f49bf1338ee.tar.gz
meta: revert to using bearssl by default
Diffstat (limited to 'extra/bearssl/build')
-rwxr-xr-xextra/bearssl/build29
1 files changed, 0 insertions, 29 deletions
diff --git a/extra/bearssl/build b/extra/bearssl/build
deleted file mode 100755
index 21bbd789..00000000
--- a/extra/bearssl/build
+++ /dev/null
@@ -1,29 +0,0 @@
-#!/bin/sh -e
-
-for patch in *.patch; do
- patch -p1 < "$patch"
-done
-
-kinstall() {
- mkdir -p "${3%/*}"; cp "$2" "$3"
- chmod "$1" "$3"
-}
-
-make
-
-# Build static binary for bearssl, word splitting on CFLAGS is intentional.
-# shellcheck disable=2086
-"${CC:-cc}" \
- -static $CFLAGS \
- -I ./inc \
- -include tools/brssl.h \
- tools/*.c \
- build/libbearssl.a \
- -o brssl
-
-
-kinstall 755 brssl "$1/usr/bin/brssl"
-kinstall 644 build/libbearssl.a "$1/usr/lib/libbearssl.a"
-kinstall 755 build/libbearssl.so "$1/usr/lib/libbearssl.so"
-
-mv inc "$1/usr/include"