aboutsummaryrefslogtreecommitdiff
path: root/scripts/runit.sh
diff options
context:
space:
mode:
authorMitch Riedstra <mitch@riedstra.us>2018-04-22 12:33:52 -0400
committerMitch Riedstra <mitch@riedstra.us>2018-04-22 12:33:52 -0400
commit4b1cd7ad1e1463a45b444d066b49574a9b6ad04a (patch)
treed8d86e9f86827f5f6ea4fe68f5aece99fa78173c /scripts/runit.sh
parentdb54ef567f4c724299ad1830d574052170247e04 (diff)
downloadmin-4b1cd7ad1e1463a45b444d066b49574a9b6ad04a.tar.gz
min-4b1cd7ad1e1463a45b444d066b49574a9b6ad04a.tar.xz
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
Diffstat (limited to 'scripts/runit.sh')
-rw-r--r--scripts/runit.sh6
1 files changed, 3 insertions, 3 deletions
diff --git a/scripts/runit.sh b/scripts/runit.sh
index 2552250..aa29fee 100644
--- a/scripts/runit.sh
+++ b/scripts/runit.sh
@@ -10,12 +10,12 @@ if ! [ -d "$BUILD_DIR" ] ; then
rmdir admin
fi
cd "$BUILD_DIR/src"
-export CC=musl-gcc
+export CC=$BUILD_TGT-gcc
# busybox will handle this for us
export LDFLAGS="-static"
export DESTDIR="$prefix"
-echo "musl-gcc -O2 -Wall $CFLAGS" > conf-cc
-echo "musl-gcc -s $LDFLAGS" > conf-ld
+echo "$BUILD_TGT-gcc -O2 -Wall $CFLAGS" > conf-cc
+echo "$BUILD_TGT-gcc -s $LDFLAGS" > conf-ld
make
echo "Done Building"
for ex in runit-init runit runsvdir runsv sv svlogd utmpset ; do