# 2013-02-07 Stefan Teleman <stefan.teleman@oracle.com>
# gengtype is missing its link libraries friends.
--- gcc-4.7.3/gcc/Makefile.in 2013-04-01 01:11:11.000000000 -0700
+++ gcc-4.7.3/gcc/Makefile.in 2013-04-19 19:11:29.496410979 -0700
@@ -3968,7 +3968,8 @@
+$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \
- $(filter-out ($LIBDEPS), $^) $(LIBS)
+ $(filter-out ($LIBDEPS), $^) -z ignore $(LIBS) \
+ -lgmp -lmpfr
# Rule for the generator programs: