components/gcc47/patches/000-gcc-Makefile.in.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Thu, 16 Jun 2016 23:00:26 -0700
changeset 6236 9ecffda25374
parent 1414 9eeb516d9fdd
permissions -rw-r--r--
Added tag s12-102 for changeset 309c116f1e44

# 2013-02-07  Stefan Teleman <[email protected]>
# 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 @@
 gengtype$(exeext) : gengtype.o gengtype-lex.o gengtype-parse.o \
               gengtype-state.o version.o errors.o $(LIBDEPS)
 	+$(LINKER) $(ALL_LINKERFLAGS) $(LDFLAGS) -o $@ \
-	    $(filter-out ($LIBDEPS), $^) $(LIBS)
+	    $(filter-out ($LIBDEPS), $^) -z ignore $(LIBS) \
+	    -lgmp -lmpfr
 
 # Rule for the generator programs:
 $(genprog:%=build/gen%$(build_exeext)): build/gen%$(build_exeext): build/gen%.o $(BUILD_LIBDEPS)