d/rules: transfer dpkg-buildflags to the dpdk build system 41/1741/2
authorChristian Ehrhardt <christian.ehrhardt@canonical.com>
Thu, 23 Jun 2016 12:03:57 +0000 (14:03 +0200)
committerC.J. Collier <cjcollier@linuxfoundation.org>
Thu, 23 Jun 2016 15:57:29 +0000 (15:57 +0000)
commitbfb8eeb20fbe6a96e7bc9d663370b871fe77717b
treecf800cebedd242ebb3b98eb7a5235f7ec0a76a13
parentb0d4298a8d737c457ee15555b1edb100b8960e09
d/rules: transfer dpkg-buildflags to the dpdk build system

DPDK build ignores the usual way of dpdk-buildflag exports.
We have to set EXTRA_CFLAFS and EXTRA_LDFLAGS properly after setting up
and including dpdk-buildflags properly to have the control over flags a
debian package should have.
LDFLAG fPIC is now added via DEB_CFLAGS_MAINT_APPEND and fPIE disabled from
the default hardening set (incompatibility with fPIC on shared libraries)

Change-Id: I74febe97da99c338e6c3e0992c65ca4a007f381c
Signed-off-by: Christian Ehrhardt <christian.ehrhardt@canonical.com>
debian/rules