Commit Graph

3 Commits

Author SHA1 Message Date
Leonid Pliushch
66bb50d949 busybox: fix more applets
Seems bc, dc and nmeter are the last ones that crashing.
2019-11-12 13:07:11 +02:00
Leonid Pliushch
3720c734f7 busybox: selectively disable optimization for certain functions
asm volatile("":::"memory") doesn't work reliably, so it is better to disable
optimization for whole function where INIT_G() or similar is used to avoid
instruction reordering.

Covers following issues:

 * https://github.com/termux/termux-packages/issues/2488
 * https://github.com/termux/termux-packages/issues/3216
2019-11-12 04:14:02 +02:00
Leonid Pliushch
ac5daf7925 busybox: update patches
Reorganize patches & do following changes:

 * Enable use of sethostname(2) in utility `hostname`.
 * Enable setting time in utility `date` - busybox already provide own
   implementation of stime(2).

- both features require root.
2019-11-12 02:51:21 +02:00