mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-22 06:01:41 +02:00
Merge pull request #2288 from flatcar/tormath1/kernel-indentation
eclass/coreos-kernel: add -Werror=misleading-indentation
This commit is contained in:
commit
abeddbd41b
@ -113,9 +113,9 @@ kernel_target() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
kmake() {
|
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
|
if gcc-specs-pie; then
|
||||||
kernel_cflags="-nopie -fstack-check=no"
|
kernel_cflags="-nopie -fstack-check=no ${kernel_cflags}"
|
||||||
fi
|
fi
|
||||||
emake "--directory=${S}/source" \
|
emake "--directory=${S}/source" \
|
||||||
ARCH="${kernel_arch}" \
|
ARCH="${kernel_arch}" \
|
||||||
|
Loading…
x
Reference in New Issue
Block a user