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:
1
makefile
1
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)
|
||||
|
||||
Reference in New Issue
Block a user