]> xenbits.xensource.com Git - seabios.git/commit
ld: don't hardcode "-melf_i386"
authorRoger Pau Monne <roger.pau@citrix.com>
Wed, 16 Apr 2014 07:14:16 +0000 (09:14 +0200)
committerKevin O'Connor <kevin@koconnor.net>
Thu, 8 May 2014 22:44:35 +0000 (18:44 -0400)
commit6ad7b5b9772a0b8bab20f1386c720f474cad5398
tree7d2d8145a89813bb6b9c75c8ad12667af2871dc5
parent6c68e7adfa6255268a80522ea39dfef4aa20ca70
ld: don't hardcode "-melf_i386"

On FreeBSD, the name of the emulation is "-melf_i386_fbsd", so allow
SeaBIOS to fetch the emulation to use from the environment variables.

This allows SeaBIOS to compile on FreeBSD with gcc.

Signed-off-by: Roger Pau Monné <roger.pau@citrix.com>
Cc: Ian Campbell <ian.campbell@citrix.com>
Makefile