summaryrefslogtreecommitdiff
path: root/target/linux
diff options
context:
space:
mode:
Diffstat (limited to 'target/linux')
-rw-r--r--target/linux/patches/6.12.25/mips-vdso-gcc15.patch12
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
+