Merge pull request #2288 from flatcar/tormath1/kernel-indentation

eclass/coreos-kernel: add -Werror=misleading-indentation
This commit is contained in:
Mathieu Tortuyaux 2024-09-06 10:28:38 +02:00 committed by GitHub
commit abeddbd41b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -113,9 +113,9 @@ kernel_target() {
}
kmake() {
local kernel_arch=$(tc-arch-kernel) kernel_cflags=
local kernel_arch=$(tc-arch-kernel) kernel_cflags="-Werror=misleading-indentation"
if gcc-specs-pie; then
kernel_cflags="-nopie -fstack-check=no"
kernel_cflags="-nopie -fstack-check=no ${kernel_cflags}"
fi
emake "--directory=${S}/source" \
ARCH="${kernel_arch}" \