From: Zoltan HERPAI Date: Tue, 24 Oct 2023 20:49:58 +0000 (+0200) Subject: musl: sh4: add missing bits/reg.h X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=ea1ed9af19847cf742e13dbc0fc592803ae944cb;p=openwrt%2Fstaging%2Fwigyori.git musl: sh4: add missing bits/reg.h Signed-off-by: Zoltan HERPAI --- diff --git a/toolchain/musl/patches/990-sh4-add-missing-bits_reg.h b/toolchain/musl/patches/990-sh4-add-missing-bits_reg.h new file mode 100644 index 0000000000..f8c684fd72 --- /dev/null +++ b/toolchain/musl/patches/990-sh4-add-missing-bits_reg.h @@ -0,0 +1,6 @@ +diff -ruN musl-1.2.4.old/arch/sh/bits/reg.h musl-1.2.4/arch/sh/bits/reg.h +--- musl-1.2.4.old/arch/sh/bits/reg.h 1970-01-01 01:00:00.000000000 +0100 ++++ musl-1.2.4/arch/sh/bits/reg.h 2023-10-24 22:42:19.013309424 +0200 +@@ -0,0 +1,2 @@ ++#undef __WORDSIZE ++#define __WORDSIZE 32