gentoo/dev-util/llvm-mingw64/files/llvm-mingw64-13.0.0-r1-exclude-arm64-cflags.patch
Sasha Finkelstein 4a74af411f
dev-util/llvm-mingw64: Add 13.0.0-r1
Uses clang 21 and adds arm64ec support

Signed-off-by: Sasha Finkelstein <fnkl.kernel@gmail.com>
Part-of: https://github.com/gentoo/gentoo/pull/43593
Signed-off-by: Sam James <sam@gentoo.org>
2025-09-17 23:21:00 +01:00

13 lines
771 B
Diff

diff '--color=auto' -r -u a/mingw-w64-crt/Makefile.am b/mingw-w64-crt/Makefile.am
--- a/mingw64/mingw-w64-crt/Makefile.am 2025-06-04 07:00:28.000000000 +0200
+++ b/mingw64/mingw-w64-crt/Makefile.am 2025-07-20 14:35:17.851023512 +0200
@@ -2408,7 +2408,7 @@
$(AM_V_CC)$(COMPILE) $(CPPFLAGSARM64) -c $< -o $@
libarm64/%.x86_64.o: %.S
- $(AM_V_CC)$(MKDIR_P) $(@D) && $(COMPILE) $(CPPFLAGSARM64) -target x86_64-windows-gnu -c $< -o $@
+ $(AM_V_CC)$(MKDIR_P) $(@D) && $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(AM_CFLAGS) $(CPPFLAGSARM64) -target x86_64-windows-gnu -c $< -o $@
# These source files aren't compiled in to any library yet. I'm not sure how / where to do so.
# The source files that I did compile somewhere I just guessed at anyway.