Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 1 | From e58369f6d36bc51eb59d6afa34c1cae3ff0810ef Mon Sep 17 00:00:00 2001 |
| 2 | From: Alexander Kanavin <alex.kanavin@gmail.com> |
| 3 | Date: Mon, 7 Aug 2017 14:10:38 +0300 |
| 4 | Subject: [PATCH] Makefile: build mktables using native gcc |
| 5 | |
| 6 | It's a throwaway helper binary used during build, and so it needs to |
| 7 | be native. |
| 8 | |
| 9 | Upstream-Status: Inappropriate [oe specific] |
| 10 | Signed-off-by: Alexander Kanavin <alex.kanavin@gmail.com> |
| 11 | --- |
| 12 | Makefile | 2 +- |
| 13 | 1 file changed, 1 insertion(+), 1 deletion(-) |
| 14 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 15 | Index: git/Makefile |
| 16 | =================================================================== |
| 17 | --- git.orig/Makefile |
| 18 | +++ git/Makefile |
| 19 | @@ -343,7 +343,7 @@ version.h: version.sh version.h.in confi |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 20 | |
| 21 | mktables: kernel-lib/mktables.c |
| 22 | @echo " [CC] $@" |
| 23 | - $(Q)$(CC) $(CFLAGS) $< -o $@ |
| 24 | + $(Q)$(BUILD_CC) $(BUILD_CFLAGS) $< -o $@ |
| 25 | |
Brad Bishop | 316dfdd | 2018-06-25 12:45:53 -0400 | [diff] [blame] | 26 | # the target can be regenerated manually using mktables, but a local copy is |
| 27 | # kept so the build process is simpler |