diff options
Diffstat (limited to 'scripts/runit.sh')
| -rw-r--r-- | scripts/runit.sh | 6 |
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 |
