| 1 | Building with clang causes 'busybox less' to |
| 2 | segfault in INIT_G() on arm, see |
| 3 | https://github.com/termux/termux-packages/issues/1245 |
| 4 | |
| 5 | diff -u -r ../busybox-1.26.2/Makefile ./Makefile |
| 6 | --- ../busybox-1.26.2/Makefile 2017-01-10 17:01:16.000000000 +0100 |
| 7 | +++ ./Makefile 2017-06-27 23:34:15.465534834 +0200 |
| 8 | @@ -289,7 +289,7 @@ |
| 9 | # Make variables (CC, etc...) |
| 10 | |
| 11 | AS = $(CROSS_COMPILE)as |
| 12 | -CC = $(CROSS_COMPILE)gcc |
| 13 | +CC = $(CROSS_COMPILE)clang |
| 14 | LD = $(CC) -nostdlib |
| 15 | CPP = $(CC) -E |
| 16 | AR = $(CROSS_COMPILE)ar |