Add FreeBSD case in gcc.sh and change shebang to run wherever bash is installed.
Created by: iori-yja
This Pull request is very small but this change is required when building redox-os/redox on FreeBSD.
This patch also helps other environments that places bash on where else of /bin
(such like /usr/bin
, /usr/local/bin
or in-busybox
, wherever).
I've confirmed that this works on Arch Linux, Ubuntu and FreeBSD (I assumed that env
is on /usr/
, but this seems to be common on such distro or OS).