diff -Nru autofs-5.0.7/debian/changelog autofs-5.0.7/debian/changelog --- autofs-5.0.7/debian/changelog 2014-06-04 13:28:57.000000000 +0000 +++ autofs-5.0.7/debian/changelog 2015-07-07 17:47:44.000000000 +0000 @@ -1,3 +1,11 @@ +autofs (5.0.7-3ubuntu3.2) trusty; urgency=medium + + [ Stefan Bader ] + * Add LDFLAGS to avoid issues with accessing global variables in + shared libraries (LP: #1470687). + + -- Chris J Arges Tue, 07 Jul 2015 12:47:34 -0500 + autofs (5.0.7-3ubuntu3.1) trusty-proposed; urgency=low * Fix file descriptor leak when reloading daemon. (LP: #1316125) diff -Nru autofs-5.0.7/debian/rules autofs-5.0.7/debian/rules --- autofs-5.0.7/debian/rules 2014-04-09 10:58:37.000000000 +0000 +++ autofs-5.0.7/debian/rules 2015-07-07 17:47:58.000000000 +0000 @@ -40,6 +40,7 @@ override_dh_auto_build: CFLAGS="$(CFLAGS) $(CPPFLAGS)" \ + LDFLAGS="$(dpkg-buildflags --get LDFLAGS | sed -e 's/-Wl,-Bsymbolic-functions//')" \ dh_auto_build override_dh_install: