aboutsummaryrefslogtreecommitdiff
path: root/scripts/tree.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/tree.sh')
-rw-r--r--scripts/tree.sh3
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/tree.sh b/scripts/tree.sh
index ee2d61b..7f804cf 100644
--- a/scripts/tree.sh
+++ b/scripts/tree.sh
@@ -9,11 +9,10 @@ if ! [ -d "$BUILD_DIR" ] ; then
tar xfzv ${dist_dir}/$APP_NAME-$VERSION.tgz
fi
cd "$BUILD_DIR"
-export CC=musl-gcc
export LDFLAGS="-static"
export DESTDIR="$prefix"
cp Makefile Makefile.bak
-sed -e's/^CC.*$/CC = musl-gcc/g' \
+sed -e's/^CC.*$/CC = gcc/g' \
-e"s@^prefix.*\$@prefix = $prefix/usr@g" \
< Makefile.bak > Makefile
rm Makefile.bak