1. ack, a.out, minix headers (moved to /usr/include.ack), minix libc 2. gcc/clang, elf, netbsd headers (moved to /usr/include), netbsd libc (moved to /usr/lib) So this obsoletes the /usr/netbsd hierarchy. No special invocation for netbsd libc necessary - it's always used for gcc/clang.
		
			
				
	
	
		
			11 lines
		
	
	
		
			156 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			11 lines
		
	
	
		
			156 B
		
	
	
	
		
			Bash
		
	
	
		
			Executable File
		
	
	
	
	
#!/bin/sh
 | 
						|
 | 
						|
set -e
 | 
						|
 | 
						|
export CC=${CC:-clang}
 | 
						|
export COMPILER_TYPE=gnu
 | 
						|
export PATH=$PATH:/usr/pkg/bin
 | 
						|
 | 
						|
export MAKEOBJDIR=obj-elfbase-nbsd NBSD_LIBC=yes
 | 
						|
make $@
 |