/usr/src/gcc-4.7/debian/patches/mudflapth-link.diff is in gcc-4.7-source 4.7.3-12ubuntu1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | # DP: Link libmudflapth.so with -lpthread
--- a/src/libmudflap/Makefile.am
+++ b/src/libmudflap/Makefile.am
@@ -44,7 +44,7 @@
mf-hooks2.c \
mf-hooks3.c
libmudflapth_la_CFLAGS = -DLIBMUDFLAPTH
-libmudflapth_la_LIBADD =
+libmudflapth_la_LIBADD = -lpthread
libmudflapth_la_DEPENDENCIES = $(libmudflapth_la_LIBADD)
libmudflapth_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version`
--- a/src/libmudflap/Makefile.in
+++ b/src/libmudflap/Makefile.in
@@ -288,7 +288,7 @@
mf-hooks3.c
libmudflapth_la_CFLAGS = -DLIBMUDFLAPTH
-libmudflapth_la_LIBADD =
+libmudflapth_la_LIBADD = -lpthread
libmudflapth_la_DEPENDENCIES = $(libmudflapth_la_LIBADD)
libmudflapth_la_LDFLAGS = -version-info `grep -v '^\#' $(srcdir)/libtool-version`
|