diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2025-04-30 20:05:04 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2025-04-30 20:05:04 +0200 |
commit | 42b9367cce24be867204c2b97a5dd71ac126d4b7 (patch) | |
tree | ad72e2d49ffb56f0df93bbab94d24138eaa49e99 | |
parent | 21cb0c3ed09b04f8c8670f4b9f3e354fdf9f982e (diff) |
linux-mips: fix compile with gcc-15
-rw-r--r-- | target/linux/patches/6.12.25/mips-vdso-gcc15.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/target/linux/patches/6.12.25/mips-vdso-gcc15.patch b/target/linux/patches/6.12.25/mips-vdso-gcc15.patch new file mode 100644 index 000000000..c18bc6c92 --- /dev/null +++ b/target/linux/patches/6.12.25/mips-vdso-gcc15.patch @@ -0,0 +1,12 @@ +diff -Nur linux-6.12.25.orig/arch/mips/vdso/Makefile linux-6.12.25/arch/mips/vdso/Makefile +--- linux-6.12.25.orig/arch/mips/vdso/Makefile 2025-04-25 10:48:08.000000000 +0200 ++++ linux-6.12.25/arch/mips/vdso/Makefile 2025-04-30 19:42:08.538362252 +0200 +@@ -30,7 +30,7 @@ + -O3 -g -fPIC -fno-strict-aliasing -fno-common -fno-builtin -G 0 \ + -mrelax-pic-calls $(call cc-option, -mexplicit-relocs) \ + -fno-stack-protector -fno-jump-tables -DDISABLE_BRANCH_PROFILING \ +- $(call cc-option, -fno-asynchronous-unwind-tables) ++ $(call cc-option, -fno-asynchronous-unwind-tables) -std=gnu11 + aflags-vdso := $(ccflags-vdso) \ + -D__ASSEMBLY__ -Wa,-gdwarf-2 + |