mirror of
				https://github.com/Wind4/vlmcsd.git
				synced 2025-11-04 06:49:28 +08:00 
			
		
		
		
	Merge pull request #41 from gnaggnoyil/master
Fix bug in GCC's target platform detection under some non-English locales
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user