2019-06-11 05:51:40 +02:00
|
|
|
Index: edk2-edk2-stable201905/BaseTools/Source/C/Makefiles/header.makefile
|
2017-05-08 10:20:33 +02:00
|
|
|
===================================================================
|
2019-06-11 05:51:40 +02:00
|
|
|
--- edk2-edk2-stable201905.orig/BaseTools/Source/C/Makefiles/header.makefile
|
|
|
|
+++ edk2-edk2-stable201905/BaseTools/Source/C/Makefiles/header.makefile
|
|
|
|
@@ -75,7 +75,7 @@ else
|
|
|
|
BUILD_CFLAGS = -MD -fshort-wchar -fno-strict-aliasing -fwrapv \
|
|
|
|
-fno-delete-null-pointer-checks -Wall -Werror \
|
|
|
|
-Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict \
|
|
|
|
--Wno-unused-result -nostdlib -g
|
|
|
|
+-Wno-unused-result -nostdlib -g -fPIE
|
2017-05-08 10:20:33 +02:00
|
|
|
endif
|
|
|
|
BUILD_LFLAGS =
|
|
|
|
BUILD_CXXFLAGS = -Wno-unused-result
|