repository

Carbs Linux repositories
git clone git://git.carbslinux.org/repository
Log | Files | Refs | README | LICENSE

commit 71ddf7234e4a0a748541d3157e24d54cfe09c655
parent a838ef960f1bbd0b82b05ad23118a03f69316a26
Author: Cem Keylan <cem@ckyln.com>
Date:   Sun, 27 Dec 2020 19:11:54 +0300

bearssl: define variables

Diffstat:
Mcore/bearssl/build | 16+++++++---------
1 file changed, 7 insertions(+), 9 deletions(-)

diff --git a/core/bearssl/build b/core/bearssl/build @@ -9,18 +9,16 @@ kinstall() { chmod "$1" "$3" } -make +make "CC=${CC:=cc}" "AR=${AR:=ar}" LD=$CC # 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 - +"$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"