updated on Thu Jan 19 20:01:47 UTC 2012
[aur-mirror.git] / u-boot / no-cross-compiler.patch
blob59fac722f9b595345430a42b88b1636bb170ad50
1 From 3b3524cd9878e356f88075e570fa029b0790eca2 Mon Sep 17 00:00:00 2001
2 From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
3 Date: Fri, 28 May 2010 23:09:43 +0200
4 Subject: [PATCH] switch to CC variable for compiler
6 Don't use a hardcoded cross-gcc, switch to using CC variable instead.
7 ---
8 tools/env/Makefile | 2 +-
9 1 files changed, 1 insertions(+), 1 deletions(-)
11 diff --git a/tools/env/Makefile b/tools/env/Makefile
12 index 2df631e..570a956 100644
13 --- a/tools/env/Makefile
14 +++ b/tools/env/Makefile
15 @@ -35,7 +35,7 @@ endif
16 all: $(obj)fw_printenv
18 $(obj)fw_printenv: $(SRCS) $(HEADERS)
19 - $(CROSS_COMPILE)gcc $(CPPFLAGS) $(SRCS) -o $(obj)fw_printenv
20 + $(CC) $(CPPFLAGS) $(SRCS) -o $(obj)fw_printenv
22 clean:
23 rm -f $(obj)fw_printenv $(obj)crc32.c
24 --
25 1.6.6.1