Commit c26b21e3 authored by Iori Yoneji's avatar Iori Yoneji

Add FreeBSD case in gcc.sh and change shebang to run wherever bash is installed.

parent ecd2edd8
#!/bin/bash
#!/usr/bin/env bash
ROOT="$(cd `dirname $0` && pwd)"
if [ "`uname`" == "Linux" ]
......@@ -7,6 +7,9 @@ then
elif [ "`uname`" == "Darwin" ]
then
compiler="x86_64-elf-gcc"
elif [ "`uname`" == "FreeBSD" ]
then
compiler="gcc"
else
echo "$0: `uname` not supported"
exit 1
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment