summaryrefslogtreecommitdiffstats
path: root/system/virtualbox-addons/gcc13.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/virtualbox-addons/gcc13.patch')
-rw-r--r--system/virtualbox-addons/gcc13.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/virtualbox-addons/gcc13.patch b/system/virtualbox-addons/gcc13.patch
new file mode 100644
index 0000000000..40701d717f
--- /dev/null
+++ b/system/virtualbox-addons/gcc13.patch
@@ -0,0 +1,11 @@
+--- Config.kmk.orig 2023-04-13 03:15:13.000000000 -0600
++++ Config.kmk 2023-06-16 09:59:19.820597642 -0600
+@@ -7485,7 +7485,7 @@
+ TEMPLATE_VBOXGUESTR3XF86MOD_LDFLAGS.amd64 = -m elf_x86_64
+ endif
+ TEMPLATE_VBOXGUESTR3XF86MOD_CFLAGS = $(TEMPLATE_VBOXGUESTR3EXE_CFLAGS) -fno-pie -fno-merge-constants -std=c99 -ffreestanding
+-TEMPLATE_VBOXGUESTR3XF86MOD_CXXFLAGS= $(TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS) -fno-pie -fno-merge-constants -ffreestanding
++TEMPLATE_VBOXGUESTR3XF86MOD_CXXFLAGS= $(TEMPLATE_VBOXGUESTR3EXE_CXXFLAGS) -fno-pie -fno-merge-constants
+ TEMPLATE_VBOXGUESTR3XF86MOD_CFLAGS.linux = $(VBOX_GCC_fno-stack-protector) # Remove symvers.h
+ TEMPLATE_VBOXGUESTR3XF86MOD_CXXFLAGS.linux = $(VBOX_GCC_fno-stack-protector) # Remove symvers.h
+ TEMPLATE_VBOXGUESTR3XF86MOD_SYSSUFF = .o