coreboot-kgpe-d16/util/crossgcc
Idwer Vollering 1b7c9590f4 crossgcc: don't use libdl while building GDB on FreeBSD
Since FreeBSD doesn't have libdl, these errors are shown:
- config.log: /usr/bin/ld: cannot find -ldl
- crossgcc-build.log: configure: error: C compiler cannot create executables

Conditionally pass the presence of libdl in LDFLAGS.

Change-Id: I79c48da7e6700a4606c9e0c1314241db8997d3f3
Signed-off-by: Idwer Vollering <vidwer@gmail.com>
Reviewed-on: http://review.coreboot.org/2342
Tested-by: build bot (Jenkins)
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
2015-04-29 14:42:37 +02:00
..
patches crossgcc: Add RISC-V support 2015-03-08 13:56:08 +01:00
Makefile crossgcc: Build mipsel-elf, not mips-elf 2015-03-29 22:37:22 +02:00
README buildgcc: Fix documentation 2014-11-23 09:08:27 +01:00
buildgcc crossgcc: don't use libdl while building GDB on FreeBSD 2015-04-29 14:42:37 +02:00
getopt.c

README

README
------

This is a cross toolchain builder for -elf toolchains (ie. no libc support)

known working:
  i386-elf
  x86_64-elf
  powerpc-elf
  mipsel-elf
  arm-elf
  armv7a-eabi
  aarch64-elf

known broken:
  alpha-elf
  powerpc64-elf