diff options
| author | Mitch Riedstra <mitch@riedstra.us> | 2018-04-19 00:11:14 -0400 |
|---|---|---|
| committer | Mitch Riedstra <mitch@riedstra.us> | 2018-04-19 00:11:14 -0400 |
| commit | 38de9074ff1effefa08bfc71471a97cd0658c10c (patch) | |
| tree | 23a2d9b90c4e6fc8136ea05daa697cc36a94ca9c /scripts/musl.sh | |
| parent | 25a1cb19b213f7825fcc080a29991beeb70f6b93 (diff) | |
| download | min-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.sh | 9 |
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 |
