termux-packages/packages/busybox/Makefile.patch.disabled
Fredrik Fornwall a6eab5e543 busybox: Build with gcc for now
Building with clang causes less to segfault on 32-bit arm:
  https://github.com/termux/termux-packages/issues/1245
2017-08-11 03:03:42 +02:00

17 lines
501 B
Makefile

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