summaryrefslogtreecommitdiff
blob: 14b11f734c717fb4dce1cd265715b62dd65215dd (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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 \