diff options
author | Liming Gao <liming.gao@intel.com> | 2018-10-08 12:22:38 +0800 |
---|---|---|
committer | Liming Gao <liming.gao@intel.com> | 2018-10-15 15:55:54 +0800 |
commit | 22158559570e90dacc6961c76abc8cc848aa0b21 (patch) | |
tree | 2ebefd4b07b12c92c5754a0871c9579d48940ca9 /MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf | |
parent | 3948c510edad901bb9f8d23f7bf0f4ae91b5fcde (diff) | |
download | edk2-22158559570e90dacc6961c76abc8cc848aa0b21.tar.gz edk2-22158559570e90dacc6961c76abc8cc848aa0b21.tar.bz2 edk2-22158559570e90dacc6961c76abc8cc848aa0b21.zip |
MdeModulePkg RegularExpressionDxe: Enable STDARG for variable arguments
Set macro for variable arguments, and remove the hard code definition
to avoid the potential duplicated definition.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Liming Gao <liming.gao@intel.com>
Reviewed-by: Dongao Guo <dongao.guo@intel.com>
Diffstat (limited to 'MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf')
-rw-r--r-- | MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf index da50092cd2..df54716182 100644 --- a/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf +++ b/MdeModulePkg/Universal/RegularExpressionDxe/RegularExpressionDxe.inf @@ -79,6 +79,9 @@ gEfiRegularExpressionProtocolGuid ## PRODUCES
[BuildOptions]
+ # Enable STDARG for variable arguments
+ *_*_*_CC_FLAGS = -DHAVE_STDARG_H
+
# Override MSFT build option to remove /Oi and /GL
MSFT:*_*_*_CC_FLAGS = /GL-
INTEL:*_*_*_CC_FLAGS = /Oi-
|