diff options
author | Luca Boccassi <luca.boccassi@gmail.com> | 2017-11-08 14:25:51 +0000 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2017-11-08 14:50:27 +0000 |
commit | 520ef8ffb2b2e8b4e18b57313d98f6283029871a (patch) | |
tree | 8532b273fa50cb3fcafda96823f81358ce766c39 | |
parent | 3aa5c564be764a6150665b54fd9ddf7c19fe7363 (diff) |
Fix DPDK_ABI parsing in d/rules to account for -rcX
Change-Id: I3704004c8f0595414cc1ddec62c5884e4a1791b1
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
-rwxr-xr-x | debian/rules | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/rules b/debian/rules index 8fe4b2fd..0296b80d 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 |