From 65c51d5d4d6cd9ff6d35dd4e9e9ae85b8e3bad2d Mon Sep 17 00:00:00 2001 From: lijuang Date: Wed, 28 Mar 2018 13:52:57 +0800 Subject: QcomModulePkg: Enable the sdllvm analyze under a flag Enable the --compile-and-analyze only when SDLLVM toolchain is used. Change-Id: I18809c63b0d585fc7bb0cfea788f82290d2eda33 --- QcomModulePkg/Library/BootLib/BootLib.inf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'QcomModulePkg/Library/BootLib/BootLib.inf') diff --git a/QcomModulePkg/Library/BootLib/BootLib.inf b/QcomModulePkg/Library/BootLib/BootLib.inf index 4910db2b11..8e6202e292 100644 --- a/QcomModulePkg/Library/BootLib/BootLib.inf +++ b/QcomModulePkg/Library/BootLib/BootLib.inf @@ -37,7 +37,7 @@ LIBRARY_CLASS = BootLib [BuildOptions.AARCH64] - GCC:*_*_*_CC_FLAGS = -O2 --compile-and-analyze $(BUILD_REPORT_DIR) + GCC:*_*_*_CC_FLAGS = -O2 $(SDLLVM_COMPILE_ANALYZE) $(SDLLVM_ANALYZE_REPORT) GCC:*_*_*_CC_FLAGS = $(UBSAN_UEFI_GCC_FLAG_UNDEFINED) GCC:*_*_*_CC_FLAGS = $(UBSAN_UEFI_GCC_FLAG_ALIGNMENT) -- cgit v1.2.3