aboutsummaryrefslogtreecommitdiffstats
path: root/community/edk2/build-hack.patch
blob: 98d7c1233b76b1a913676ac8307413ad63f9c702 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
VfrCompile seg.faults with fortify enabled. It's probably broken.

diff -ru a/edk2-e242cdfb307a6dfe2c0f75c4719f5c1f6b418625/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp b/edk2-e242cdfb307a6dfe2c0f75c4719f5c1f6b418625/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp
--- edk2-e242cdfb307a6dfe2c0f75c4719f5c1f6b418625/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp	2016-11-16 10:01:14.000000000 +0200
+++ edk2-e242cdfb307a6dfe2c0f75c4719f5c1f6b418625/BaseTools/Source/C/VfrCompile/VfrUtilityLib.cpp	2016-11-16 14:47:30.211978076 +0200
@@ -13,6 +13,7 @@
 
 **/
 
+#define _FORTIFY_SOURCE 0
 #include "stdio.h"
 #include "stdlib.h"
 #include "CommonLib.h"