summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--make/platform/clang_linux.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/make/platform/clang_linux.mk b/make/platform/clang_linux.mk
index fe39a2d73..78f9e3afb 100644
--- a/make/platform/clang_linux.mk
+++ b/make/platform/clang_linux.mk
@@ -11,7 +11,7 @@ Configs :=
# cross compilers). For now, we just find the target architecture of the
# compiler and only define configurations we know that compiler can generate.
CompilerTargetTriple := $(shell \
- $(CC) -v 2>&1 | grep 'Target:' | cut -d' ' -f2)
+ LANG=C $(CC) -v 2>&1 | grep 'Target:' | cut -d' ' -f2)
ifeq ($(CompilerTargetTriple),)
$(error "unable to infer compiler target triple for $(CC)")
endif