Remove forced optimize flag (it's done by EDK build system).

This commit is contained in:
jief666 2020-10-04 11:16:58 +03:00
parent f312117030
commit 2f83b0bcef

View File

@ -961,7 +961,7 @@ DEFINE BUILD_OPTIONS=-DMDEPKG_NDEBUG -DCLOVER_BUILD $(VBIOS_PATCH_CLOVEREFI_FLAG
#MSFT:*_*_*_CC_FLAGS = /FAcs /FR$(@R).SBR /wd4701 /wd4703 $(BUILD_OPTIONS)
MSFT:*_*_*_CC_FLAGS = /FAcs $(BUILD_OPTIONS) -Dinline=__inline /Zi -D DISABLE_NEW_DEPRECATED_INTERFACES -D OC_TARGET_DEBUG
XCODE:*_*_*_CC_FLAGS = -fno-unwind-tables -Wno-msvc-include -Os $(BUILD_OPTIONS) $(DISABLE_LTO_FLAG) -D DISABLE_NEW_DEPRECATED_INTERFACES -D OC_TARGET_DEBUG
XCODE:*_*_*_CC_FLAGS = -fno-unwind-tables -Wno-msvc-include $(BUILD_OPTIONS) $(DISABLE_LTO_FLAG) -D DISABLE_NEW_DEPRECATED_INTERFACES -D OC_TARGET_DEBUG
GCC:*_*_*_CC_FLAGS = $(BUILD_OPTIONS) $(DISABLE_LTO_FLAG) -DMDEPKG_NDEBUG -D DISABLE_NEW_DEPRECATED_INTERFACES -D OC_TARGET_DEBUG
GCC:*_*_*_CXX_FLAGS = $(BUILD_OPTIONS) $(DISABLE_LTO_FLAG) -DMDEPKG_NDEBUG -D DISABLE_NEW_DEPRECATED_INTERFACES -D OC_TARGET_DEBUG
#-fanalyzer -Wmismatched-tags