minix/lib/clang_build.sh

8 lines
143 B
Bash
Executable file

#!/bin/sh
export CC=clang
export COMPILER_TYPE=gnu
export PATH=$PATH:/usr/pkg/bin:/usr/gnu_cross/bin
export MAKEOBJDIR=obj-elf-clang
make $@