linamh/app-emulation/virtualbox/files/virtualbox-6.1.36-fcf-protection.patch

17 lines
374 B
Diff
Raw Normal View History

2024-06-18 10:44:56 +02:00
Bug https://bugs.gentoo.org/865361
gcc does not support -fcf-protection for i386 (needs i686+),
so disable it when building iPxeBaseBin.
--- a/src/VBox/Devices/PC/ipxe/Makefile.kmk
+++ b/src/VBox/Devices/PC/ipxe/Makefile.kmk
@@ -176,6 +177,8 @@
iPxeBaseBin_TEMPLATE = iPxe
+ iPxeBaseBin_CFLAGS = -fcf-protection=none
+
iPxeBaseBin_INCS = \
src \
src/include \