2018-08-20 10:37:11 +02:00
|
|
|
Index: ovmf-2018+git1534736099.43fe4c405292/BaseTools/Source/C/Makefiles/header.makefile
|
2017-05-08 10:20:33 +02:00
|
|
|
===================================================================
|
2018-08-20 10:37:11 +02:00
|
|
|
--- ovmf-2018+git1534736099.43fe4c405292.orig/BaseTools/Source/C/Makefiles/header.makefile
|
|
|
|
+++ ovmf-2018+git1534736099.43fe4c405292/BaseTools/Source/C/Makefiles/header.makefile
|
|
|
|
@@ -77,7 +77,7 @@ ifeq ($(DARWIN),Darwin)
|
2017-05-08 10:20:33 +02:00
|
|
|
# assume clang or clang compatible flags on OS X
|
2018-08-20 10:37:11 +02:00
|
|
|
BUILD_CFLAGS = -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -g
|
2017-05-08 10:20:33 +02:00
|
|
|
else
|
2018-08-20 10:37:11 +02:00
|
|
|
-BUILD_CFLAGS = -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g
|
|
|
|
+BUILD_CFLAGS = -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-stringop-truncation -Wno-restrict -Wno-unused-result -nostdlib -g -fPIE
|
2017-05-08 10:20:33 +02:00
|
|
|
endif
|
|
|
|
BUILD_LFLAGS =
|
|
|
|
BUILD_CXXFLAGS = -Wno-unused-result
|