X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=debian%2Frules;h=2953c406d282674da337a23ede12d82c2c2f0da3;hb=9a92e68265613f8beb66e0591ec940fd613f8758;hp=8ecaa41c3dd2b2ee9d1c09811887cb2c36bea9c3;hpb=d910135b7f0f24e3f5a18fe7a718e93d62066093;p=deb_dpdk.git diff --git a/debian/rules b/debian/rules index 8ecaa41c..2953c406 100755 --- a/debian/rules +++ b/debian/rules @@ -7,7 +7,7 @@ export DH_OPTIONS=-v # see EXAMPLES in dpkg-buildflags(1) and read /usr/share/dpkg/* include /usr/share/dpkg/default.mk -DPDK_ABI := $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d '.' -f1-2) +DPDK_ABI := $(shell echo $(DEB_VERSION_UPSTREAM) | cut -d '-' -f1 | cut -d '.' -f1-2) # see FEATURE AREAS in dpkg-buildflags(1) export DEB_BUILD_MAINT_OPTIONS = hardening=+all,-pie