3 Commits
Author SHA1 Message Date
Adrian Chadd ff94f7cd5c Fix newlib build for FreeBSD
newlib was using 'gcc' if the CC_FOR_BUILD variable wasn't set.
So, explicitly set it here to the compiler that we're using.
2022-07-24 18:43:50 -07:00
Adrian Chadd 91fed07e21 Fix CONFIG_GCC to work on FreeBSD
Like darwin the ports bits are not in the default path, but we
don't have a 'brew' command to get the ports prefix.

So just use /usr/local/ as an overrideable default for now.

This allows gcc to be built.
2022-07-10 22:35:35 -07:00
Adrian Chadd fb9ca6921a Fix top-level build rules for FreeBSD
* use gsed, not sed, like on macosx
* GNU make is not "make" on BSD systems, it's "gmake", so use $(MAKE)
  instead so it picks up the executed make program.
2022-07-10 22:16:58 -07:00