busybox: Patch to build with clang
authorFredrik Fornwall <fredrik@fornwall.net>
Tue, 27 Jun 2017 21:38:16 +0000 (23:38 +0200)
committerFredrik Fornwall <fredrik@fornwall.net>
Tue, 27 Jun 2017 21:38:16 +0000 (23:38 +0200)
packages/busybox/Makefile.patch [new file with mode: 0644]

diff --git a/packages/busybox/Makefile.patch b/packages/busybox/Makefile.patch
new file mode 100644 (file)
index 0000000..5e81ec0
--- /dev/null
@@ -0,0 +1,12 @@
+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