File gcc-4.8.5-gdc-fix-link-utils.patch of Package gcc48

diff -Ndurp gcc-4.8.5-gdc/gcc/d/Make-lang.in gcc-4.8.5-gdc-fix-link-utils/gcc/d/Make-lang.in
--- gcc-4.8.5-gdc/gcc/d/Make-lang.in	2016-01-24 22:54:02.624450779 +0200
+++ gcc-4.8.5-gdc-fix-link-utils/gcc/d/Make-lang.in	2016-01-24 22:54:33.453448694 +0200
@@ -125,10 +125,10 @@ D_GLUE_OBJS = d/d-attribs.o d/d-lang.o d
 
 # Generated programs.
 d/idgen: d/idgen.dmdgen.o
-	$(LINKER_FOR_BUILD) $(BUILD_LINKER_FLAGS) $(BUILD_LDFLAGS)  -o $@ $^
+	$(LINKER_FOR_BUILD) $(BUILD_LINKER_FLAGS) $(BUILD_LDFLAGS)  -o $@ $^ -lgcov
 
 d/impcvgen: d/impcnvgen.dmdgen.o
-	$(LINKER_FOR_BUILD) $(BUILD_LINKER_FLAGS) $(BUILD_LDFLAGS) -o $@ $^
+	$(LINKER_FOR_BUILD) $(BUILD_LINKER_FLAGS) $(BUILD_LDFLAGS) -o $@ $^ -lgcov
 
 # Generated sources.
 d/id.c: d/idgen
openSUSE Build Service is sponsored by