[build] Fix building on FreeBSD

FreeBSD requires the object format to be specified as elf_i386_fbsd,
rather than elf_i386.

Based on a patch from Eygene Ryabinkin <rea-fbsd@codelabs.ru>
This commit is contained in:
Michael Brown
2008-10-17 18:24:04 +01:00
parent 5600955bdd
commit d9c38d14d6
2 changed files with 14 additions and 2 deletions

View File

@@ -52,6 +52,14 @@ VERYCLEANUP += .echocheck
echo :
@$(ECHO) "Using \"$(ECHO_E)\" for \"echo -e\""
###############################################################################
#
# Determine host OS
#
HOST_OS := $(shell uname -s)
hostos :
@$(ECHO) $(HOST_OS)
###############################################################################
#
# Check for tools that can cause failed builds