]> git.ipfire.org Git - thirdparty/e2fsprogs.git/commit
debian: enable use of dpkg-buildflags if present
authorTheodore Ts'o <tytso@mit.edu>
Wed, 15 Feb 2012 23:29:37 +0000 (18:29 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Fri, 17 Feb 2012 19:32:18 +0000 (14:32 -0500)
commit910fae94a5799de1fdfd180df55ef4d71319e0b7
treeda7bbff84a35edebfba5815f585bd238ebb1d086
parenta204236eafb47e3cd4e9dbc0e810bccd8c9173cc
debian: enable use of dpkg-buildflags if present

On newer Debian-based distributions, dpkg-buildflags should be called
by the debian rules file to get the appropriate values for CFLAGS,
LDFLAGS, etc.  This will also allow Debian to build with security
hardened build flags, which is a release goal for Debian Wheezy.

If dpkg-buildflags is not present, then use some safe defaults (what
is currently being set by dpkg-buildpackage in Ubuntu 10.04 LTS, which
is a common enough ancient distribution that many people might still
care about).

Addresses-Debian-Bug: #654457

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
debian/rules