diff options
author | Luca Boccassi <luca.boccassi@gmail.com> | 2016-11-10 16:09:41 +0000 |
---|---|---|
committer | Luca Boccassi <luca.boccassi@gmail.com> | 2016-11-10 17:02:26 +0000 |
commit | 5f7e9d4586d361e9855e60b2dfdc31b8540e446d (patch) | |
tree | 29ffc2307d57f70606d63664bfe219c3c01f6187 /debian/rules | |
parent | 4806115daa6950cc83894aa65afa19bf64d5e02e (diff) |
Use -fno-PIE when building kernel modules
In Debian 9 -fPIE is now default, which causes build failures when
building kernel modules.
Pass -fno-PIE to fix it.
Change-Id: Ib9187ef6ed72bd25b92fb9f449a9435fcc5cc6cf
Signed-off-by: Luca Boccassi <luca.boccassi@gmail.com>
Diffstat (limited to 'debian/rules')
-rwxr-xr-x | debian/rules | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/debian/rules b/debian/rules index 3ef1c669..7a494468 100755 --- a/debian/rules +++ b/debian/rules @@ -91,6 +91,7 @@ endif KVERS := $(shell perl debian/kernel-version $(KSRC)) export KVERS +export MODULE_CFLAGS=-fno-PIE DPDK_CONFIG_BUILD_KMOD=y |