Commit c67b055a authored by Jeremy Soller's avatar Jeremy Soller Committed by GitHub

Merge pull request #7 from iori-yja/allow_build_on_freebsd

Add FreeBSD case in gcc.sh and change shebang to run wherever bash is installed.
parents ecd2edd8 c26b21e3
#!/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