Apply cflags to linux perf
This commit is contained in:
parent
b7fd88854c
commit
2b2132432d
1 changed files with 1 additions and 1 deletions
2
debian/rules
vendored
2
debian/rules
vendored
|
@ -59,7 +59,6 @@ override_dh_auto_build:
|
||||||
# Kernel
|
# Kernel
|
||||||
dh_auto_build -D ${KERNEL_SRC} -- \
|
dh_auto_build -D ${KERNEL_SRC} -- \
|
||||||
CC="${PVE_KERNEL_CC}" \
|
CC="${PVE_KERNEL_CC}" \
|
||||||
KCFLAGS="${PVE_KERNEL_CFLAGS}" \
|
|
||||||
EXTRAVERSION="${EXTRAVERSION}" \
|
EXTRAVERSION="${EXTRAVERSION}" \
|
||||||
LOCALVERSION="${LOCALVERSION}" \
|
LOCALVERSION="${LOCALVERSION}" \
|
||||||
KBUILD_BUILD_VERSION_TIMESTAMP="${PKG_DISTRIBUTOR} ${DEB_VERSION} (${PKG_DATE_UTC_ISO})"
|
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_LIBPYTHON=1 \
|
||||||
NO_LIBPERL=1 \
|
NO_LIBPERL=1 \
|
||||||
NO_LIBCRYPTO=1 \
|
NO_LIBCRYPTO=1 \
|
||||||
|
CFLAGS="${PVE_KERNEL_CFLAGS}" \
|
||||||
PYTHON=python3
|
PYTHON=python3
|
||||||
# echo "checking GPL-2 only perf binary for library linkage with incompatible licenses.."
|
# echo "checking GPL-2 only perf binary for library linkage with incompatible licenses.."
|
||||||
# ! ldd ${KERNEL_SRC}/tools/perf/perf | grep -q -E '\blibbfd'
|
# ! ldd ${KERNEL_SRC}/tools/perf/perf | grep -q -E '\blibbfd'
|
||||||
|
|
Loading…
Add table
Reference in a new issue