Commit 51204aa4 authored by Timo Teräs's avatar Timo Teräs

main/busybox: fix CROSS_COMPILE usage when CC is not defined

parent 748a71da
......@@ -46,7 +46,7 @@ prepare() {
build() {
# build bbsuid
msg "Building bbsuid"
${CC:-${CROSS_COMPILE}-gcc} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} "$srcdir"/bbsuid.c -o "$_dyndir"/bbsuid || return 1
${CC:-${CROSS_COMPILE}gcc} ${CPPFLAGS} ${CFLAGS} ${LDFLAGS} "$srcdir"/bbsuid.c -o "$_dyndir"/bbsuid || return 1
cd "$_staticdir"
msg "Building static busybox"
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment