minix/lib/gnu_build.sh

17 lines
274 B
Bash
Raw Normal View History

#!/bin/sh
export COMPILER_TYPE=gnu
export ARCH=i386
if [ "$COMPILER_TYPE" = 'ack' ]; then
export CC=cc
export MAKEOBJDIR=obj-ack
elif [ "$COMPILER_TYPE" = 'gnu' ]; then
export CC=gcc
export AR=gar
export MAKEOBJDIR=obj-gnu
export PATH=$PATH:/usr/gnu/bin
fi
make $@