aboutsummaryrefslogtreecommitdiff
path: root/scripts/musl.sh
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-04-19 00:11:14 -0400
committerMitch Riedstra <mitch@riedstra.us>2018-04-19 00:11:14 -0400
commit38de9074ff1effefa08bfc71471a97cd0658c10c (patch)
tree23a2d9b90c4e6fc8136ea05daa697cc36a94ca9c /scripts/musl.sh
parent25a1cb19b213f7825fcc080a29991beeb70f6b93 (diff)
downloadmin-38de9074ff1effefa08bfc71471a97cd0658c10c.tar.gz
min-38de9074ff1effefa08bfc71471a97cd0658c10c.tar.xz
Attempts to build zlib, libressl, dropbear, and...
openssh with musl using the host's toolchain. I'm going to be moving to a toolchain specific to this system. Also changed how the kernel is installed, so it makes more sense. Fixed missing sources for many projects
Diffstat (limited to 'scripts/musl.sh')
-rw-r--r--scripts/musl.sh9
1 files changed, 5 insertions, 4 deletions
diff --git a/scripts/musl.sh b/scripts/musl.sh
index ed6d1bb..24cd9d1 100644
--- a/scripts/musl.sh
+++ b/scripts/musl.sh
@@ -4,10 +4,11 @@ VERSION="1.1.19"
cd $build_dir
gzip -dc < ${dist_dir}/musl-$VERSION.tar.gz | tar -xvf -
cd musl-$VERSION
-./configure --prefix=$prefix/usr/local/musl # --enable-static
+MUSL_OPTS="--enable-static --enable-shared"
+./configure --prefix=$prefix/usr/local/musl $MUSL_OPTS
make -j$(nproc)
make install
-# export DESTDIR=$prefix
-# ./configure --prefix=/usr --enable-static
-# make install
+export DESTDIR=$prefix
+./configure --prefix=/usr $MUSL_OPTS
+make install