summarylogtreecommitdiffstats
path: root/windres.patch
diff options
context:
space:
mode:
Diffstat (limited to 'windres.patch')
-rw-r--r--windres.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/windres.patch b/windres.patch
new file mode 100644
index 000000000000..0e040f031001
--- /dev/null
+++ b/windres.patch
@@ -0,0 +1,13 @@
+diff --git a/ffbuild/common.mak b/ffbuild/common.mak
+index e070b6b5e2..ab536e157d 100644
+--- a/ffbuild/common.mak
++++ b/ffbuild/common.mak
+@@ -90,7 +90,7 @@ COMPILE_MSA = $(call COMPILE,CC,MSAFLAGS)
+ -$(if $(ASMSTRIPFLAGS), $(STRIP) $(ASMSTRIPFLAGS) $@)
+
+ %.o: %.rc
+- $(WINDRES) $(IFLAGS) --preprocessor "$(DEPWINDRES) -E -xc-header -DRC_INVOKED $(CC_DEPFLAGS)" -o $@ $<
++ $(WINDRES) $(IFLAGS) -o $@ $<
+
+ %.i: %.c
+ $(CC) $(CCFLAGS) $(CC_E) $<