gcc/Makefile.in: fix bug in gengtype link rule
Commit Message
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
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
@@ -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)