summaryrefslogtreecommitdiff
path: root/patches/uClibc/0.9.29/500-headers-no-cross-gcc.patch
blob: bfad3dfa3a1aa6e3f12644e891c68b4b0265dc72 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: uClibc/Makefile.in
===================================================================
--- uClibc/Makefile.in	(revision 18643)
+++ uClibc/Makefile.in	(working copy)
@@ -96,7 +96,7 @@
 	cd $(top_builddir); \
 	tmp=`mktemp include/bits/sysnum.h.XXXXXX 2>/dev/null`; \
 	[ -z "$$tmp" ] && tmp='include/bits/sysnum.h.new'; \
-	KERNEL_HEADERS="${KERNEL_HEADERS}" top_builddir=. CC="$(CC) $(CPU_CFLAGS)" $(SHELL) extra/scripts/gen_bits_syscall_h.sh > $$tmp; \
+	KERNEL_HEADERS="${KERNEL_HEADERS}" top_builddir=. CC=$(HOSTCC) $(SHELL) extra/scripts/gen_bits_syscall_h.sh > $$tmp; \
 	if cmp include/bits/sysnum.h $$tmp >/dev/null 2>&1; then \
 		$(RM) $$tmp; \
 	else \