diff options
author | Benjamin Barenblat <bbaren@mit.edu> | 2013-07-26 20:22:58 -0700 |
---|---|---|
committer | Benjamin Barenblat <bbaren@mit.edu> | 2013-07-26 20:25:08 -0700 |
commit | eb80c836822de369832ffb4c5b8bc7af8ca4509d (patch) | |
tree | 29630741c4b8b112a930cabd927dc58b6208c260 /debian | |
parent | c8eb4bc0f70e45d9f3648275ff0820cadaa885fe (diff) |
Add --as-needed to linker flags; remove extraneous comment from debian/rules
Diffstat (limited to 'debian')
-rwxr-xr-x | debian/rules | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 9b15344..780754e 100755 --- a/debian/rules +++ b/debian/rules @@ -1,6 +1,5 @@ #!/usr/bin/make -f # -*- makefile -*- -# Sample debian/rules that uses debhelper. # This file was originally written by Joey Hess and Craig Small. # As a special exception, when this file is copied by dh-make into a # dh-make output file, you may use that output file without restriction. @@ -9,6 +8,9 @@ # Uncomment this to turn on verbose mode. #export DH_VERBOSE=1 +# Avoid overlinking and reduce library dependencies. +export DEB_LDFLAGS_MAINT_APPEND = -Wl,--as-needed + %: dh $@ --with autotools-dev |