]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
Add windres to TOOL_PROGS
authorPeter Damianov <peter0x44@disroot.org>
Fri, 19 Dec 2025 07:52:13 +0000 (08:52 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 19 Dec 2025 07:52:13 +0000 (08:52 +0100)
I sent a patch to GCC adding support for passing .rc and .res files to the
driver directly, allowing support for doing things like:

gcc file.c file.rc -o file.exe

However, binutils doesn't install windres into the tooldir, so by default, gcc
will be unable to find windres. This patch adds windres to TOOL_PROGS so this
can work.

binutils/ChangeLog:

* Makefile.am (TOOL_PROGS): Add windres.
* Makefile.in: Regenerate.

Signed-off-by: Peter Damianov <peter0x44@disroot.org>
binutils/Makefile.am
binutils/Makefile.in

index 1528302ea6179d3f38f684dc72a7f890bdb412d8..4be0971b3d285d9b768dd652c43030c63a5dadb7 100644 (file)
@@ -110,7 +110,7 @@ noinst_PROGRAMS = $(RENAMED_PROGS) $(TEST_PROGS) @BUILD_MISC@
 EXTRA_PROGRAMS = srconv sysdump coffdump $(DLLTOOL_PROG) $(WINDRES_PROG) $(WINDMC_PROG) $(DLLWRAP_PROG)
 
 # Stuff that goes in tooldir/ if appropriate.
-TOOL_PROGS = nm-new strip-new ar ranlib dlltool objdump objcopy readelf
+TOOL_PROGS = nm-new strip-new ar ranlib dlltool windres objdump objcopy readelf
 
 BASEDIR = $(srcdir)/..
 BFDDIR = $(BASEDIR)/bfd
index a374e805576276ff1b60dfde1f51c426b3f141d3..471b9f310dcb3979f62a36a852f1e244eff30ac0 100644 (file)
@@ -696,7 +696,7 @@ TEST_PROGS = $(BFDTEST1_PROG) $(BFDTEST2_PROG) $(GENTESTDLLS_PROG)
 RENAMED_PROGS = $(NM_PROG) $(STRIP_PROG) $(DEMANGLER_PROG)
 
 # Stuff that goes in tooldir/ if appropriate.
-TOOL_PROGS = nm-new strip-new ar ranlib dlltool objdump objcopy readelf
+TOOL_PROGS = nm-new strip-new ar ranlib dlltool windres objdump objcopy readelf
 BASEDIR = $(srcdir)/..
 BFDDIR = $(BASEDIR)/bfd
 INCDIR = $(BASEDIR)/include