Skip to content

Commit

Permalink
forbid lto for CloverEFI
Browse files Browse the repository at this point in the history
Signed-off-by: Sergey Isakov <[email protected]>
  • Loading branch information
SergeySlice committed Oct 5, 2019
1 parent 590f421 commit 74fb388
Show file tree
Hide file tree
Showing 10 changed files with 10 additions and 10 deletions.
2 changes: 1 addition & 1 deletion CloverEFI/CpuDxe/Cpu.inf
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,6 @@

[BuildOptions]
XCODE:*_*_*_CC_FLAGS = -Os -fno-lto -UUSING_LTO -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -Os -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -Os -fno-lto -DMDEPKG_NDEBUG
MSFT:*_*_*_CC_FLAGS = /D MDEPKG_NDEBUG

2 changes: 1 addition & 1 deletion CloverEFI/OsxDxeIpl/DxeIpl.inf
Original file line number Diff line number Diff line change
Expand Up @@ -74,5 +74,5 @@
# GCC:*_*_IA32_CC_FLAGS = $(BUILD_OPTIONS) -march=i386 -mtune=i386 -m32 -Os $(INC)
# GCC:*_*_IA32_AS_FLAGS = $(BUILD_OPTIONS) -march=i386 -mtune=i386 --32 $(INC)
XCODE:*_*_*_CC_FLAGS = -Os -fno-lto -UUSING_LTO -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -O0 -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -O0 -fno-lto -DMDEPKG_NDEBUG
MSFT:*_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
2 changes: 1 addition & 1 deletion Library/DuetTimerLib/DuetTimerLib.inf
Original file line number Diff line number Diff line change
Expand Up @@ -54,5 +54,5 @@

[BuildOptions]
XCODE:*_*_*_CC_FLAGS = -Os -fno-lto -UUSING_LTO -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -Os -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -Os -fno-lto -DMDEPKG_NDEBUG
MSFT:*_*_*_CC_FLAGS = /D MDEPKG_NDEBUG
2 changes: 1 addition & 1 deletion Library/GenericBdsLib/GenericBdsLib.inf
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,6 @@

[BuildOptions]
XCODE:*_*_*_CC_FLAGS = -Os -fno-lto -UUSING_LTO -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -Os -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -Os -fno-lto -DMDEPKG_NDEBUG
MSFT:*_*_*_CC_FLAGS = /D MDEPKG_NDEBUG

2 changes: 1 addition & 1 deletion Library/IntrinsicLib/IntrinsicLib.inf
Original file line number Diff line number Diff line change
Expand Up @@ -71,4 +71,4 @@
INTEL:*_*_*_CC_FLAGS = /Oi-

XCODE:*_*_*_CC_FLAGS = -Os -fno-lto -UUSING_LTO -fno-builtin -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -Os -fno-builtin -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -Os -fno-lto -fno-builtin -DMDEPKG_NDEBUG
2 changes: 1 addition & 1 deletion Library/MemLogLibDefault/MemLogLibDefault.inf
Original file line number Diff line number Diff line change
Expand Up @@ -35,4 +35,4 @@

[BuildOptions]
XCODE:*_*_*_CC_FLAGS = -Os -fno-lto -UUSING_LTO -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -Os -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -Os -fno-lto -DMDEPKG_NDEBUG
2 changes: 1 addition & 1 deletion Library/OsxBdsPlatformLib/PlatformBds.inf
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@
[BuildOptions]
# TIMEOUTFP=0 -- silent boot
XCODE:*_*_*_CC_FLAGS = -Os -fno-lto -UUSING_LTO -DTIMEOUTFP=0 -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -O0 -DTIMEOUTFP=0 -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -O0 -fno-lto -DTIMEOUTFP=0 -DMDEPKG_NDEBUG
MSFT:*_*_*_CC_FLAGS = -Os -DTIMEOUTFP=3 /D MDEPKG_NDEBUG


2 changes: 1 addition & 1 deletion Library/UefiHiiServicesLib/UefiHiiServicesLib.inf
Original file line number Diff line number Diff line change
Expand Up @@ -67,4 +67,4 @@

[BuildOptions]
XCODE:*_*_*_CC_FLAGS = -Os -fno-lto -UUSING_LTO -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -Os -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -Os -fno-lto -DMDEPKG_NDEBUG
2 changes: 1 addition & 1 deletion Library/VBoxPeCoffLib/VBoxPeCoffLib.inf
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,4 @@

[BuildOptions]
XCODE:*_*_*_CC_FLAGS = -Os -fno-lto -UUSING_LTO -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -Os -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -Os -fno-lto -DMDEPKG_NDEBUG
2 changes: 1 addition & 1 deletion Library/VideoBiosPatchLib/VideoBiosPatchLib.inf
Original file line number Diff line number Diff line change
Expand Up @@ -49,4 +49,4 @@

[BuildOptions]
XCODE:*_*_*_CC_FLAGS = -Os -fno-lto -UUSING_LTO -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -Os -DMDEPKG_NDEBUG
GCC:*_*_*_CC_FLAGS = -Os -fno-lto -DMDEPKG_NDEBUG

0 comments on commit 74fb388

Please sign in to comment.