gcc/Makefile.in: fix bug in gengtype link rule

Message ID 20211026212656.671607-1-dmalcolm@redhat.com
State New
Headers
Series gcc/Makefile.in: fix bug in gengtype link rule |

Commit Message

David Malcolm Oct. 26, 2021, 9:26 p.m. UTC
  Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu.
OK for trunk?

gcc/ChangeLog:
	* Makefile.in: Fix syntax for reference to LIBDEPS in
	gengtype link rule.

Signed-off-by: David Malcolm <dmalcolm@redhat.com>
---
 gcc/Makefile.in | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
  

Comments

Jeff Law Oct. 28, 2021, 2:52 p.m. UTC | #1
On 10/26/2021 3:26 PM, David Malcolm via Gcc-patches wrote:
> Successfully bootstrapped & regrtested on x86_64-pc-linux-gnu.
> OK for trunk?
>
> gcc/ChangeLog:
> 	* Makefile.in: Fix syntax for reference to LIBDEPS in
> 	gengtype link rule.
>
> Signed-off-by: David Malcolm <dmalcolm@redhat.com>
OK
jeff
  

Patch

diff --git a/gcc/Makefile.in b/gcc/Makefile.in
index 658093c11c0..842e57dff87 100644
--- a/gcc/Makefile.in
+++ b/gcc/Makefile.in
@@ -2964,7 +2964,7 @@  build/gengtype$(build_exeext) : build/gengtype-lex.o build/gengtype-parse.o \
 gengtype$(exeext) : gengtype.o gengtype-lex.o gengtype-parse.o \
               gengtype-state.o errors.o $(LIBDEPS)
 	+$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \
-	    $(filter-out ($LIBDEPS), $^) $(LIBS)
+	    $(filter-out $(LIBDEPS), $^) $(LIBS)
 
 # Rule for the generator programs:
 $(genprog:%=build/gen%$(build_exeext)): build/gen%$(build_exeext): build/gen%.o $(BUILD_LIBDEPS)