> From: Liviu Ionescu <i...@livius.net> > Date: Mon, 28 Dec 2020 16:53:52 +0200 > Cc: bug-make@gnu.org > > > Are > > you using the build_w32.bat batch file to build Make, or are you using > > some other build procedure? > > No, since I'm running the build on Linux, not on native MS-Windows. > > Any suggestion how to get rid of the unwanted Gnulib fcntl.h?
You need to tweak the configury stuff so that Gnulib's configuration doesn't decide it needs to replace fcntl.h. For example, by manually setting the variables you find in m4/fcntl.m4: gl_cv_func_fcntl_f_dupfd_works gl_cv_func_fcntl_f_dupfd_cloexec In general, I'd say that the Posix configury in Make doesn't include support for cross-building the MinGW port, so it will have to be added, because manually setting gl_cv_* variables is hardly a convenient way of building Make...