diff options
author | lijuang <lijuang@codeaurora.org> | 2018-03-28 13:52:57 +0800 |
---|---|---|
committer | lijuang <lijuang@codeaurora.org> | 2018-04-10 13:34:43 +0800 |
commit | 65c51d5d4d6cd9ff6d35dd4e9e9ae85b8e3bad2d (patch) | |
tree | e60db1041467fbcde1004de0a2d1b31839220d7a /QcomModulePkg/Library/BootLib/BootLib.inf | |
parent | 9dbccad7ae9ee590b84da6454bb09319382732f9 (diff) |
QcomModulePkg: Enable the sdllvm analyze under a flag
Enable the --compile-and-analyze only when SDLLVM toolchain is used.
Change-Id: I18809c63b0d585fc7bb0cfea788f82290d2eda33
Diffstat (limited to 'QcomModulePkg/Library/BootLib/BootLib.inf')
-rw-r--r-- | QcomModulePkg/Library/BootLib/BootLib.inf | 2 |
1 files changed, 1 insertions, 1 deletions
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) |