summaryrefslogtreecommitdiffstats
path: root/tools/sstrip
diff options
context:
space:
mode:
authorJo-Philipp Wich <jo@mein.io>2019-08-30 15:22:01 +0200
committerJo-Philipp Wich <jo@mein.io>2019-09-03 10:44:21 +0200
commitf3ab336d7ceda929dc8dc4a8b09a9552dc6be0b1 (patch)
treec89625352fd4065ba924c4e0d031f7d4f3cd1527 /tools/sstrip
parentd3f86c9cc3e465fbca51aaadbb274856831ba56c (diff)
downloadopenwrt-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/sstrip')
0 files changed, 0 insertions, 0 deletions