tools/elftosb: fix compilation with C++17
authorRosen Penev <[email protected]>
Wed, 21 May 2025 01:17:32 +0000 (18:17 -0700)
committerHauke Mehrtens <[email protected]>
Thu, 22 May 2025 22:21:44 +0000 (00:21 +0200)
commitd8e3213929e936491e08e6cf868cf1b7d4ab5cb6
tree24b4efda0cdf043083911422c7997dfb7b020461
parent6229a19d0f35158c5d6bf70939eb08225836f626
tools/elftosb: fix compilation with C++17

Newer GCC and Clang default to C++17, which does not support register.
Just remove it.

Signed-off-by: Rosen Penev <[email protected]>
Link: https://github.com/openwrt/openwrt/pull/18859
Signed-off-by: Hauke Mehrtens <[email protected]>
tools/elftosb/patches/010-no-register.patch [new file with mode: 0644]