mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-25 15:41:04 +02:00
eclass/coreos-kernel: add -Werror=misleading-indentation
To ensure that tested patches are correctly indented. Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
This commit is contained in:
parent
9905d72e59
commit
565daaba2c
@ -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}" \
|
||||
|
Loading…
x
Reference in New Issue
Block a user