[packages/crossmingw32-runtime] - fix memaligh objects build: they rely on mingw headers, so use local includes before system ones
qboosh
qboosh at pld-linux.org
Thu Feb 17 17:29:27 CET 2022
commit eaf34067c63d771a4f22c662f4ad80a4948be5d9
Author: Jakub Bogusz <qboosh at pld-linux.org>
Date: Thu Feb 17 17:30:58 2022 +0100
- fix memaligh objects build: they rely on mingw headers, so use local includes before system ones
crossmingw32-runtime-memalign-includes.patch | 11 +++++++++++
1 file changed, 11 insertions(+)
---
diff --git a/crossmingw32-runtime-memalign-includes.patch b/crossmingw32-runtime-memalign-includes.patch
new file mode 100644
index 0000000..dad6ed9
--- /dev/null
+++ b/crossmingw32-runtime-memalign-includes.patch
@@ -0,0 +1,11 @@
+--- mingwrt-5.4.2/Makefile.in.orig 2022-02-14 20:44:45.490215326 +0100
++++ mingwrt-5.4.2/Makefile.in 2022-02-15 18:59:34.887075823 +0100
+@@ -453,7 +453,7 @@ LIBMINGWEX_MEMALIGN += aligned-realloc m
+ LIBMINGWEX_MEMALIGN_OBJECTS = $(addsuffix .$(OBJEXT),$(LIBMINGWEX_MEMALIGN))
+
+ $(LIBMINGWEX_MEMALIGN_OBJECTS): %.$(OBJEXT): memalign.c
+- $(CC) -c $(CFLAGS) -D__mingw_$(subst -,_,$*)_case $< -o $@
++ $(CC) -c $(CFLAGS) $(INCLUDES) $(NTDDI_VERSION_SPEC) -D__mingw_$(subst -,_,$*)_case $< -o $@
+
+ libmingwex.a: $(LIBMINGWEX_MEMALIGN_OBJECTS)
+
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/crossmingw32-runtime.git/commitdiff/eaf34067c63d771a4f22c662f4ad80a4948be5d9
More information about the pld-cvs-commit
mailing list