diff options
-rw-r--r-- | Makefile | 3 | ||||
-rw-r--r-- | arch/sh/tools/Makefile | 2 |
2 files changed, 2 insertions, 3 deletions
@@ -18,10 +18,9 @@ MAKEFLAGS += -rR --no-print-directory | |||
18 | 18 | ||
19 | # Avoid funny character set dependencies | 19 | # Avoid funny character set dependencies |
20 | unexport LC_ALL | 20 | unexport LC_ALL |
21 | LC_CTYPE=C | ||
22 | LC_COLLATE=C | 21 | LC_COLLATE=C |
23 | LC_NUMERIC=C | 22 | LC_NUMERIC=C |
24 | export LC_CTYPE LC_COLLATE LC_NUMERIC | 23 | export LC_COLLATE LC_NUMERIC |
25 | 24 | ||
26 | # We are using a recursive build, so we need to do a little thinking | 25 | # We are using a recursive build, so we need to do a little thinking |
27 | # to get the ordering right. | 26 | # to get the ordering right. |
diff --git a/arch/sh/tools/Makefile b/arch/sh/tools/Makefile index 558a56bcc7cf..2082af1f3fef 100644 --- a/arch/sh/tools/Makefile +++ b/arch/sh/tools/Makefile | |||
@@ -13,4 +13,4 @@ | |||
13 | include/generated/machtypes.h: $(src)/gen-mach-types $(src)/mach-types | 13 | include/generated/machtypes.h: $(src)/gen-mach-types $(src)/mach-types |
14 | @echo ' Generating $@' | 14 | @echo ' Generating $@' |
15 | $(Q)mkdir -p $(dir $@) | 15 | $(Q)mkdir -p $(dir $@) |
16 | $(Q)$(AWK) -f $^ > $@ || { rm -f $@; /bin/false; } | 16 | $(Q)LC_ALL=C $(AWK) -f $^ > $@ || { rm -f $@; /bin/false; } |