diff --git a/debian/rules b/debian/rules index 04e4644..32ab69d 100755 --- a/debian/rules +++ b/debian/rules @@ -59,7 +59,6 @@ override_dh_auto_build: # Kernel dh_auto_build -D ${KERNEL_SRC} -- \ CC="${PVE_KERNEL_CC}" \ - KCFLAGS="${PVE_KERNEL_CFLAGS}" \ EXTRAVERSION="${EXTRAVERSION}" \ LOCALVERSION="${LOCALVERSION}" \ KBUILD_BUILD_VERSION_TIMESTAMP="${PKG_DISTRIBUTOR} ${DEB_VERSION} (${PKG_DATE_UTC_ISO})" @@ -133,6 +132,7 @@ debian/${PVE_KERNEL_PKG}.%: debian/templates/pve-kernel.%.in NO_LIBPYTHON=1 \ NO_LIBPERL=1 \ NO_LIBCRYPTO=1 \ + CFLAGS="${PVE_KERNEL_CFLAGS}" \ PYTHON=python3 # echo "checking GPL-2 only perf binary for library linkage with incompatible licenses.." # ! ldd ${KERNEL_SRC}/tools/perf/perf | grep -q -E '\blibbfd'