mirror of
https://github.com/Wind4/vlmcsd.git
synced 2025-05-09 11:51:57 -04:00
Fix bug in GCC's target platform detection under some non-English locales
This commit is contained in:
parent
5b08c8f2a3
commit
db75edf481
1 changed files with 1 additions and 1 deletions
|
@ -70,7 +70,7 @@ VERBOSE ?= NO
|
|||
################################################################################
|
||||
|
||||
CC ?= gcc
|
||||
TARGETPLATFORM := $(shell LANG=en_US.UTF-8 $(CC) -v 2>&1 | grep '^Target: ' | cut -f 2 -d ' ')
|
||||
TARGETPLATFORM := $(shell LANG=en_US.UTF-8 LANGUAGE=en_US $(CC) -v 2>&1 | grep '^Target: ' | cut -f 2 -d ' ')
|
||||
|
||||
ifneq (,$(findstring darwin,$(TARGETPLATFORM)))
|
||||
DARWIN := 1
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue