summaryrefslogtreecommitdiff
path: root/data/_coreutils/make.sh
diff options
context:
space:
mode:
Diffstat (limited to 'data/_coreutils/make.sh')
-rw-r--r--data/_coreutils/make.sh3
1 files changed, 2 insertions, 1 deletions
diff --git a/data/_coreutils/make.sh b/data/_coreutils/make.sh
index 30b072569..d7c194b91 100644
--- a/data/_coreutils/make.sh
+++ b/data/_coreutils/make.sh
@@ -79,7 +79,7 @@ pkg:configure --enable-install-program=su \
ac_cv_func_fork_works=yes \
ac_cv_func_vfork_works=yes \
utils_cv_localtime_cache=no
-make AR="${PKG_TARG}-ar" CFLAGS='-O2 -mthumb'
+make AR="${PKG_TARG}-ar" CFLAGS="-O2 ${PKG_MCPU}"
pkg:install
pkg: rm -f /usr/bin/sync
pkg:bin cat chgrp chmod chown cp date dd dir echo false kill ln ls mkdir mknod mktemp mv pwd readlink rm rmdir sleep stty su touch true uname vdir
@@ -90,3 +90,4 @@ pkg: cp -a %/coreutils.sh /etc/profile.d
ln -s /bin/chown "${PKG_DEST}"/usr/bin
ln -s /bin/chown "${PKG_DEST}"/usr/sbin
ln -s /bin/mktemp "${PKG_DEST}"/usr/bin
+pkg: fakeroot chmod u+s /bin/su