Files
MINGW-packages/mingw-w64-make/make-linebuf-mingw.patch
مهدي شينون (Mehdi Chinoune) 14e2fb9b5a make: Fix default CXX compiler.
2025-11-21 09:42:51 +01:00

15 lines
395 B
Diff

--- a/src/main.c
+++ b/src/main.c
@@ -1241,8 +1241,11 @@
#endif
+/* setlocale interferes with line buffering if using parallel make on MinGW */
+#ifndef __MINGW32__
/* Set up gettext/internationalization support. */
setlocale (LC_ALL, "");
+#endif
/* The cast to void shuts up compiler warnings on systems that
disable NLS. */
(void)bindtextdomain (PACKAGE, LOCALEDIR);