Skip to content

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

Jeremy Soller requested to merge iori-yja:allow_build_on_freebsd into master

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).

Merge request reports