Skip to content

Commit

Permalink
compile busybox statically
Browse files Browse the repository at this point in the history
  • Loading branch information
jprjr committed Mar 6, 2018
1 parent 9215996 commit 9770ebc
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions build
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ echo "Building busybox"

CFLAGS="-g0 -Os" \
CXXFLAGS="-g0 -Os" \
LDFLAGS="-s" \
LDFLAGS="-s -static" \
PATH="$TOOLDIR/${TARGET}/bin:$PATH" \
$DOWNLOADDIR/bin/runlog -l $LOGDIR/busybox-${TARGET}-configure.txt -- \
make -C $BUILDDIR/${TARGET}/busybox-${BUSYBOX_VER} \
Expand All @@ -116,7 +116,7 @@ make -C $BUILDDIR/${TARGET}/busybox-${BUSYBOX_VER} \

CFLAGS="-g0 -Os" \
CXXFLAGS="-g0 -Os" \
LDFLAGS="-s" \
LDFLAGS="-s -static" \
PATH="$TOOLDIR/${TARGET}/bin:$PATH" \
$DOWNLOADDIR/bin/runlog -l $LOGDIR/busybox-${TARGET}-build.txt -- \
make -C $BUILDDIR/${TARGET}/busybox-${BUSYBOX_VER} \
Expand All @@ -129,7 +129,7 @@ make -C $BUILDDIR/${TARGET}/busybox-${BUSYBOX_VER} \

CFLAGS="-g0 -Os" \
CXXFLAGS="-g0 -Os" \
LDFLAGS="-s" \
LDFLAGS="-s -static" \
PATH="$TOOLDIR/${TARGET}/bin:$PATH" \
$DOWNLOADDIR/bin/runlog -l $LOGDIR/busybox-${TARGET}-install.txt -- \
make -C $BUILDDIR/${TARGET}/busybox-${BUSYBOX_VER} \
Expand Down

0 comments on commit 9770ebc

Please sign in to comment.