From 4b1cd7ad1e1463a45b444d066b49574a9b6ad04a Mon Sep 17 00:00:00 2001 From: Mitch Riedstra Date: Sun, 22 Apr 2018 12:33:52 -0400 Subject: Sweeping changes, switching to musl-cross-make Updated busybox-config to reflect the toolchain change Nginx and Openssh build and are now apart of the system. Runit is included, still need to install configuration files --- scripts/libressl.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'scripts/libressl.sh') diff --git a/scripts/libressl.sh b/scripts/libressl.sh index 8706f93..ed330e0 100644 --- a/scripts/libressl.sh +++ b/scripts/libressl.sh @@ -9,11 +9,13 @@ if ! [ -d "$BUILD_DIR" ] ; then tar xfzv ${dist_dir}/$APP_NAME-$VERSION.tar.gz fi cd "$BUILD_DIR" -# export CC=musl-gcc -# export CFLAGS="-static -I$prefix/usr/include" -# export LDFLAGS="-static -L$prefix/usr/lib" +export CFLAGS="-static -I$prefix/usr/include" +export LDFLAGS="-static -L$prefix/usr/lib" export DESTDIR="$prefix" -make clean -./configure --prefix=/usr +make clean || echo "" +./configure --prefix=/usr \ + --host=$BUILD_TGT \ + --with-sysroot=$prefix \ + --enable-static=yes make -j$(nproc) make install -- cgit v1.2.3