From 0da98bcd50761f28e69764f5a6e79adcf91d3b92 Mon Sep 17 00:00:00 2001 From: Mark Pizzolato Date: Sat, 31 May 2025 06:44:55 -1000 Subject: [PATCH] makefile: Build cleanly when local language isn't English gcc version determination only works reliably when language is set to english. Fix #1215 --- makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/makefile b/makefile index 10ecf574..38c423ba 100644 --- a/makefile +++ b/makefile @@ -414,6 +414,7 @@ ifeq (${WIN32},) #*nix Environments (&& cygwin) endif endif endif + export LANG = en_US.UTF-8 ifeq (,$(shell ${GCC} -v /dev/null 2>&1 | grep 'clang')) GCC_VERSION = $(shell ${GCC} -v /dev/null 2>&1 | grep 'gcc version' | awk '{ print $$3 }') COMPILER_NAME = GCC Version: $(GCC_VERSION)