1
0
mirror of https://github.com/simh/simh.git synced 2026-01-27 12:32:24 +00:00

makefile: Build cleanly when local language isn't English

gcc version determination only works reliably when language is set
to english.

Fix #1215
This commit is contained in:
Mark Pizzolato
2025-05-31 06:44:55 -10:00
parent bb6a21042e
commit 0da98bcd50

View File

@@ -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)