diff options
author | Jo-Philipp Wich <jo@mein.io> | 2019-08-30 15:22:01 +0200 |
---|---|---|
committer | Jo-Philipp Wich <jo@mein.io> | 2019-09-03 10:44:21 +0200 |
commit | f3ab336d7ceda929dc8dc4a8b09a9552dc6be0b1 (patch) | |
tree | c89625352fd4065ba924c4e0d031f7d4f3cd1527 /include/image.mk | |
parent | d3f86c9cc3e465fbca51aaadbb274856831ba56c (diff) | |
download | upstream-f3ab336d7ceda929dc8dc4a8b09a9552dc6be0b1.tar.gz upstream-f3ab336d7ceda929dc8dc4a8b09a9552dc6be0b1.tar.bz2 upstream-f3ab336d7ceda929dc8dc4a8b09a9552dc6be0b1.zip |
tools: libelf: fix headers to trigger -Wundef warnings
When libelf from tools/ is used for building the kernel, compilation
aborts due to access to undefined defines since Kbuild adds -Wundef
to the compiler flags.
Patch the header files to use `#if defined(...)` instead of `#if ...`
to prevent such issues.
Ref: https://github.com/NixOS/nixpkgs/issues/59929
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
Diffstat (limited to 'include/image.mk')
0 files changed, 0 insertions, 0 deletions