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 /tools/elftosb/Makefile | |
parent | d3f86c9cc3e465fbca51aaadbb274856831ba56c (diff) | |
download | openwrt-f3ab336d7ceda929dc8dc4a8b09a9552dc6be0b1.tar.gz openwrt-f3ab336d7ceda929dc8dc4a8b09a9552dc6be0b1.tar.bz2 openwrt-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 'tools/elftosb/Makefile')
0 files changed, 0 insertions, 0 deletions