# 2013-02-07 Stefan Teleman <stefan.teleman@oracle.com>
# gengtype is missing its link libraries friends.
--- gcc-4.8.2/gcc/Makefile.in 2013-07-08 02:14:34.000000000 -0700
+++ gcc-4.8.2/gcc/Makefile.in 2013-10-17 11:15:49.023876341 -0700
@@ -3976,7 +3976,8 @@
+$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \
- $(filter-out ($LIBDEPS), $^) $(LIBS)
+ $(filter-out ($LIBDEPS), $^) -z ignore $(LIBS) \
+ -lgmp -lmpfr
# Rule for the generator programs: