2
0
mirror of https://codeberg.org/kiss-community/repo synced 2024-12-22 07:10:16 -07:00

busybox: revert CC change. See #240

This commit is contained in:
Dylan Araps 2020-11-18 20:18:58 +02:00
parent b98fac2901
commit 2e0ed18bf7
No known key found for this signature in database
GPG Key ID: 46D62DD9F1DE636E

View File

@ -4,10 +4,6 @@ for patch in *.patch; do
patch -p1 < "$patch"
done
# Remove forced gcc/g++ usage so builds work on gcc-less systems.
sed -i "s#= g[c+][c+]#= ${CC:-cc}#g" Makefile
sed -i "s#\(\$(CROSS_COMPILE)\)gcc#\1${CC:-cc}#g" Makefile
# Build and install regular busybox.
# This excludes utilities which require 'suid' to function.
make CC="${CC:-cc}" HOSTCC="${CC:-cc}"