From 8ddbcb76e4dbd697b255a6fe5eff8cf36b170131 Mon Sep 17 00:00:00 2001 From: Dylan Araps Date: Sun, 23 Feb 2020 23:45:05 +0200 Subject: [PATCH] busybox: Use portable cc. Closes #157 --- core/busybox/build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/busybox/build b/core/busybox/build index 456012f1..1d6bab23 100755 --- a/core/busybox/build +++ b/core/busybox/build @@ -6,7 +6,7 @@ done # Build and install regular busybox. # This excludes utilities which require 'suid' to function. -make CC="${CC:-gcc}" +make CC="${CC:-cc}" HOSTCC="${CC:-cc}" make CONFIG_PREFIX="$1/usr" install # Rename the binary temporarily. @@ -15,7 +15,7 @@ mv "$1/usr/bin/busybox" "$1/usr/bin/busybox-nosuid" # Build and install suid busybox. # This _only_ includes utlities which require 'suid' to function. cp -f .config-suid .config -make CC="${CC:-gcc}" +make CC="${CC:-cc}" HOSTCC="${CC:-cc}" make CONFIG_PREFIX="$1/usr" install # Aptly name the busybox binaries.