]> git.ipfire.org Git - thirdparty/pciutils.git/commit - Makefile
Makefile: Add new option COMPAT_GETOPT
authorPali Rohár <pali@kernel.org>
Sun, 26 Dec 2021 17:44:44 +0000 (18:44 +0100)
committerMartin Mareš <mj@ucw.cz>
Sun, 26 Dec 2021 21:51:59 +0000 (22:51 +0100)
commit8493c9f686e970ac0ecd0f69d6a8398f3bceac28
tree4908f02e7af9b24bb45b756546769114517f2e6d
parentec1fe05c4811a1946ab42979e714a6515aef792a
Makefile: Add new option COMPAT_GETOPT

This new option controls if compat/getopt.c should be compiled and linked
into lspci and setpci binaries. Useful for ancient platforms.

For example it is required to set COMPAT_GETOPT=yes for all versions of
MinGW32 with CRTDLL (as this MinGW32 variant does not have linkable
getopt() implementation). And also for MinGW32 with MSVCRT older than 3.0.
Makefile