mirror of
				https://github.com/taigrr/yq
				synced 2025-01-18 04:53:17 -08:00 
			
		
		
		
	Force static linking
This commit is contained in:
		
							parent
							
								
									4f12e09e78
								
							
						
					
					
						commit
						5b7b390a33
					
				| @ -3,9 +3,10 @@ | ||||
| # This assumes that gonative and gox is installed as per the 'one time setup' instructions | ||||
| # at https://github.com/inconshreveable/gonative | ||||
| 
 | ||||
| gox -ldflags "${LDFLAGS}" -output="build/yq_{{.OS}}_{{.Arch}}" | ||||
| 
 | ||||
| CGO_ENABLED=0 gox -ldflags "${LDFLAGS}" -output="build/yq_{{.OS}}_{{.Arch}}" | ||||
| # include non-default linux builds too | ||||
| gox -ldflags "${LDFLAGS}" -os=linux  -output="build/yq_{{.OS}}_{{.Arch}}" | ||||
| CGO_ENABLED=0 gox -ldflags "${LDFLAGS}" -os=linux  -output="build/yq_{{.OS}}_{{.Arch}}" | ||||
| 
 | ||||
| cd build | ||||
| rhash -r -a . -P -o checksums | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user