From 12617e848c82f2c5809fb2112170177ad9cda4e6 Mon Sep 17 00:00:00 2001 From: Raphael Hertzog Date: Fri, 28 Mar 2008 17:59:41 +0100 Subject: [PATCH] dpkg-buildpackage: change default value of LDFLAGS * scripts/dpkg-buildpackage.pl: LDFLAGS now defaults to an empty value instead of "-Wl,-Bsymbolic-functions". The latter can break some libraries at run-time and such a change is best done at the beginning of a release cycle. --- ChangeLog | 7 +++++++ debian/changelog | 3 +++ scripts/dpkg-buildpackage.pl | 2 +- 3 files changed, 11 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 40710381..23efe633 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2008-03-28 Raphael Hertzog + + * scripts/dpkg-buildpackage.pl: LDFLAGS now defaults to an empty + value instead of "-Wl,-Bsymbolic-functions". The latter can break + some libraries at run-time and such a change is best done + at the beginning of a release cycle. + 2008-03-27 Raphael Hertzog * scripts/Dpkg/Shlibs.pm: Support cross-compilation by adding diff --git a/debian/changelog b/debian/changelog index 86708ebe..76c7d4fb 100644 --- a/debian/changelog +++ b/debian/changelog @@ -119,6 +119,9 @@ dpkg (1.14.17) UNRELEASED; urgency=low * dpkg-shlibdeps is now able to look into directories containing libraries used by cross-built binaries provided that the right environment variable are set. Closes: #453267 + * Change default value of LDFLAGS (set by dpkg-buildpackage) to '' + instead of '-Wl,-Bsymbolic-functions'. It's safer at this point of the + release cycle. [ Frank Lichtenheld ] * Add a warning in dpkg-buildpackage if the build-dependencies are not diff --git a/scripts/dpkg-buildpackage.pl b/scripts/dpkg-buildpackage.pl index 6e1dc0e5..d0141b46 100755 --- a/scripts/dpkg-buildpackage.pl +++ b/scripts/dpkg-buildpackage.pl @@ -260,7 +260,7 @@ my %flags = ( CPPFLAGS => '', CFLAGS => $default_flags, CXXFLAGS => $default_flags, FFLAGS => $default_flags, - LDFLAGS => "-Wl,-Bsymbolic-functions", + LDFLAGS => '', ); foreach my $flag (keys %flags) { -- 2.39.5