iglupkg: allow for GNU host triple
This commit is contained in:
		
							parent
							
								
									b51517fe91
								
							
						
					
					
						commit
						ac0d624c8c
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -2,7 +2,12 @@ | |||
| set -e | ||||
| 
 | ||||
| export HOST_ARCH=$(uname -m) | ||||
| 
 | ||||
| if uname -o | grep GNU >/dev/null; then | ||||
| 	export HOST_TRIPLE="$HOST_ARCH-unknown-linux-gnu" | ||||
| else | ||||
| 	export HOST_TRIPLE="$HOST_ARCH-unknown-linux-musl" | ||||
| fi | ||||
| 
 | ||||
| command -V bad 2>/dev/null || bad() { | ||||
| 	shift | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue