summaryrefslogtreecommitdiff
path: root/app-emulation/virtualbox/files/virtualbox-7.0.8-mtune-keep-size.patch
blob: e37d9d6dcb9458ebe6400527a04d77cb22ff4bd5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Force -mtune=i386.  Random -mtune can lead to iPxeBiosBin.rom getting too
large (larger than 56k).  This can happen because we support custom CFLAGS.

--- a/src/VBox/Devices/PC/ipxe/Makefile.kmk
+++ b/src/VBox/Devices/PC/ipxe/Makefile.kmk
@@ -125,6 +125,7 @@
 	-ffreestanding \
 	-ffunction-sections \
 	-march=i386 \
+	-mtune=i386 \
 	-fomit-frame-pointer \
 	-fstrength-reduce \
 	-falign-jumps=1 \