diff -ru libgpg-error.orig/src/Makefile.in libgpg-error/src/Makefile.in
--- libgpg-error.orig/src/Makefile.in	2023-04-06 17:30:13.000000000 +0900
+++ libgpg-error/src/Makefile.in	2023-08-30 14:44:01.102310369 +0900
@@ -1619,7 +1618,7 @@
 
 
 @HAVE_W32_SYSTEM_TRUE@.rc.lo:
-@HAVE_W32_SYSTEM_TRUE@	$(LTRCCOMPILE) -i "$<" -o "$@"
+@HAVE_W32_SYSTEM_TRUE@	$(LTRCCOMPILE) -i $< -o $@
 
 @HAVE_W32_SYSTEM_TRUE@versioninfo.lo : gpg-error.w32-manifest
 
@@ -1660,7 +1659,7 @@
 # It is correct to use $(CPP).  We want the host's idea of the error codes.
 mkerrcodes.h: Makefile mkerrcodes.awk
 	$(AWK) -f $(srcdir)/mkerrcodes1.awk $(srcdir)/errnos.in >_$@
-	$(CPP) $(CPPFLAGS) -P _$@ | grep GPG_ERR_ | \
+	$(CPP) $(CPPFLAGS) _$@ | grep GPG_ERR_ | \
                $(AWK) -f $(srcdir)/mkerrcodes.awk >$@
 	-rm _$@
 
