diff options
author | 2016-11-10 16:09:41 +0000 | |
---|---|---|
committer | 2016-11-10 17:02:26 +0000 | |
commit | 5f7e9d4586d361e9855e60b2dfdc31b8540e446d (patch) | |
tree | 29ffc2307d57f70606d63664bfe219c3c01f6187 /debian/dpdk-igb-uio-dkms.dkms | |
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/dpdk-igb-uio-dkms.dkms')
-rw-r--r-- | debian/dpdk-igb-uio-dkms.dkms | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/debian/dpdk-igb-uio-dkms.dkms b/debian/dpdk-igb-uio-dkms.dkms index 5c7d1925..5141ff61 100644 --- a/debian/dpdk-igb-uio-dkms.dkms +++ b/debian/dpdk-igb-uio-dkms.dkms @@ -1,7 +1,7 @@ PACKAGE_NAME="dpdk-igb-uio" PACKAGE_VERSION="#MODULE_VERSION#" BUILT_MODULE_NAME[0]="igb_uio" -MAKE="source /usr/share/dpdk/dpdk-sdk-env.sh; make MODULE_CFLAGS='-I/usr/include/dpdk -include /usr/include/dpdk/rte_config.h' RTE_KERNELDIR=/lib/modules/${kernelver}/build" +MAKE="source /usr/share/dpdk/dpdk-sdk-env.sh; make MODULE_CFLAGS='-I/usr/include/dpdk -include /usr/include/dpdk/rte_config.h -fno-PIE' RTE_KERNELDIR=/lib/modules/${kernelver}/build" CLEAN="source /usr/share/dpdk/dpdk-sdk-env.sh; make clean" DEST_MODULE_LOCATION[0]="/updates/dkms" AUTOINSTALL="YES" |