minix/lib/elf_build.sh
Ben Gras f3d5a9dc61 Reduce compiler/libraries/headers cases to only two
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.
2011-07-04 04:09:52 +02:00

10 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 $@