gcc/Makefile.in: fix bug in gengtype link rule
authorDavid Malcolm <dmalcolm@redhat.com>
Mon, 18 Oct 2021 22:45:17 +0000 (18:45 -0400)
committerDavid Malcolm <dmalcolm@redhat.com>
Fri, 29 Oct 2021 20:51:25 +0000 (16:51 -0400)
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

index ec74a3a..571e9c2 100644 (file)
@@ -2965,7 +2965,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)