mirror of
https://codeberg.org/kiss-community/repo
synced 2024-07-02 14:02:27 +00:00
busybox: Use portable cc. Closes #157
This commit is contained in:
parent
2b173b4886
commit
8ddbcb76e4
|
@ -6,7 +6,7 @@ done
|
||||||
|
|
||||||
# Build and install regular busybox.
|
# Build and install regular busybox.
|
||||||
# This excludes utilities which require 'suid' to function.
|
# 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
|
make CONFIG_PREFIX="$1/usr" install
|
||||||
|
|
||||||
# Rename the binary temporarily.
|
# Rename the binary temporarily.
|
||||||
|
@ -15,7 +15,7 @@ mv "$1/usr/bin/busybox" "$1/usr/bin/busybox-nosuid"
|
||||||
# Build and install suid busybox.
|
# Build and install suid busybox.
|
||||||
# This _only_ includes utlities which require 'suid' to function.
|
# This _only_ includes utlities which require 'suid' to function.
|
||||||
cp -f .config-suid .config
|
cp -f .config-suid .config
|
||||||
make CC="${CC:-gcc}"
|
make CC="${CC:-cc}" HOSTCC="${CC:-cc}"
|
||||||
make CONFIG_PREFIX="$1/usr" install
|
make CONFIG_PREFIX="$1/usr" install
|
||||||
|
|
||||||
# Aptly name the busybox binaries.
|
# Aptly name the busybox binaries.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user