coreboot-kgpe-d16/util
Stefan Reinauer 354c11d10e cbfstool: Make sure fileno is available on Cygwin
This patch fixes compilation of cbfstool on Cygwin.

As reported in http://review.coreboot.org/#/c/10027
cbfstool on Cygwin likes to be compiled with -D_GNU_SOURCE.
That patch was abandoned because it would unwantedly turn on
more GNU extensions. Instead of doing that, only enable the
define on Cygwin, switch to -std=gnu99 instead of -std=c99 to
make fileno and strdup actually available.
A MINGW32 check that was forgotten in Makefile was copied over
from Makefile.inc to keep the two files in sync.

This patch has no impact on non-Windows builds.

Change-Id: I068b181d67daf9c7280110e64aefb634aa20c69b
Signed-off-by: Stefan Reinauer <stefan.reinauer@coreboot.org>
Reviewed-on: http://review.coreboot.org/11667
Reviewed-by: Ronald G. Minnich <rminnich@gmail.com>
Tested-by: build bot (Jenkins)
2015-10-23 20:44:35 +02:00
..
abuild abuild: add a command line parameter for junit filename 2015-10-15 12:21:19 +00:00
acpi Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
amdtools Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
arm_boot_tools/mksunxiboot
autoport gma ACPI: Make brightness levels a per board setting 2015-10-22 23:01:36 +02:00
bimgtool bimgtool: initialize data header 2015-06-12 23:16:01 +02:00
board_status Revert "Remove sandybridge and ivybridge FSP code path" 2015-10-22 21:51:01 +02:00
broadcom secimage: Use libz's crc32 function 2015-08-09 12:34:24 +02:00
cbfstool cbfstool: Make sure fileno is available on Cygwin 2015-10-23 20:44:35 +02:00
cbmem util/cbmem: Fix failure with certain cbmem base alignments 2015-10-16 20:23:33 +00:00
crossgcc buildgcc: Fix the binutils-no-doc patch with 2.25 2015-10-05 17:22:41 +00:00
dtd_parser Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
ectool util/ectool: don't dump the whole ram when writing to it 2015-07-06 23:11:03 +02:00
exynos
fletcher
genbuild_h genbuild_h: Add Mac OS to case of "data -r" 2015-09-10 02:14:04 +00:00
genprof
gitconfig gitconfig/rebase.sh: adapt default branch name 2015-08-28 18:41:21 +00:00
ifdfake ifdfake: allow "base+size" description of regions 2015-09-21 13:01:22 +00:00
ifdtool ifdtool: Properly set + decode flmstr regs for IFD v2 2015-09-17 14:17:31 +00:00
inteltool inteltool: Add function to generate SPD dump. 2015-10-11 15:01:05 +00:00
intelvbttool VBT parser. 2015-05-25 18:19:51 +02:00
ipqheader Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
k8resdump Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
kconfig kconfig: fix build for xconfig, too 2015-10-01 20:14:13 +00:00
lint lint: Fix shellcheck warnings, add comments 2015-10-17 06:16:49 +00:00
msrtool Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
nvidia
nvramtool Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
optionlist Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
release release: add release script 2015-07-16 17:40:42 +02:00
rockchip
romcc Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
sconfig Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
scripts MAINTAINERS: Add script to test database and find maintainers 2015-10-23 01:47:39 +02:00
showdevicetree Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
spkmodem_recv
superiotool Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
uio_usbdebug Remove address from GPLv2 headers 2015-05-21 20:50:25 +02:00
vgabios Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
viatool Remove empty lines at end of file 2015-06-08 00:55:07 +02:00
xcompile arm64: xcompile: Add support for A53 erratum 843419 2015-08-28 06:46:09 +00:00