Attention is currently required from: Angel Pons.
Thomas Heijligen has posted comments on this change. ( https://review.coreboot.org/c/flashrom/+/73102 )
Change subject: cli_classic: include a fallback inplementation of getopt. ......................................................................
Patch Set 1:
(1 comment)
File include/cli_classic.h:
https://review.coreboot.org/c/flashrom/+/73102/comment/054e7efc_a3aa80f2 PS1, Line 5: __has_include
And DJGPP uses some GCC version, so it should work there as well
Yes, it's an up-to-date gcc. A meson (cross-)compiled flashrom for DOS is already runny here. Without the need to patch flashrom or pciutils with getopt first, as advised in the wiki https://www.flashrom.org/DOS