summaryrefslogtreecommitdiffstats
path: root/debian/rules
diff options
context:
space:
mode:
authorLuca Boccassi <luca.boccassi@gmail.com>2016-09-13 20:04:14 +0100
committerLuca Boccassi <luca.boccassi@gmail.com>2016-09-14 11:55:38 +0100
commitf651a5de2fd18c185f65e3321dbebea9590b93c6 (patch)
treec28ad720bcc09ec0bebfe43c10afd9e6be023885 /debian/rules
parent5bc33ee0995cde472a24762742db693283af55f7 (diff)
Build with RTE_DEVEL_BUILD=n to remove rpath
Pass RTE_DEVEL_BUILD=n to make calls to avoid building the test pmds with rpath set to the current path, which is wrong for binaries shipped by distributions. Fixes Lintian Error: E: dpdk: binary-or-shlib-defines-rpath usr/bin/dpdk-pdump /home/lboccass/git/dpdk_deb/debian/build/shared-root/lib Change-Id: I45e6a72beed1769fe35277ec5a2bcf50788254bd Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Diffstat (limited to 'debian/rules')
-rwxr-xr-xdebian/rules2
1 files changed, 2 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules
index 32673763..f7d9a322 100755
--- a/debian/rules
+++ b/debian/rules
@@ -30,6 +30,8 @@ export EXTRA_LDFLAGS=$(shell echo $(LDFLAGS) | sed 's/-Wl,//g')
# HOST_CC build system does not add -Wl ...
export EXTRA_HOST_LDFLAGS=$(LDFLAGS)
+export RTE_DEVEL_BUILD=n
+
# People rebuilding this package can overwrite DPDK_CONFIG, RTE_MACHINE and
# RTE_TARGET via environment variables if they like
ifneq (,$(filter $(DEB_HOST_ARCH), arm64))