MdeModulePkg RegularExpressionDxe: Remove GCC -fno-builtin option
[mirror_edk2.git] / MdeModulePkg / Universal / RegularExpressionDxe / RegularExpressionDxe.inf
CommitLineData
27b5bf5d 1## @file\r
14b0e578
CS
2# EFI_REGULAR_EXPRESSION_PROTOCOL Implementation\r
3#\r
0af8e57c 4# (C) Copyright 2015 Hewlett Packard Enterprise Development LP<BR>\r
14b0e578
CS
5#\r
6# This program and the accompanying materials are licensed and made available\r
7# under the terms and conditions of the BSD License that accompanies this\r
8# distribution. The full text of the license may be found at\r
9# http://opensource.org/licenses/bsd-license.php.\r
10#\r
11# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT\r
12# WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.\r
13##\r
14\r
15[Defines]\r
16 INF_VERSION = 0x00010018\r
17 BASE_NAME = RegularExpressionDxe\r
18 FILE_GUID = 3E197E9C-D8DC-42D3-89CE-B04FA9833756\r
19 MODULE_TYPE = UEFI_DRIVER\r
20 VERSION_STRING = 1.0\r
21 ENTRY_POINT = RegularExpressionDxeEntry\r
22\r
23[Sources]\r
24 RegularExpressionDxe.c\r
25 RegularExpressionDxe.h\r
26 Oniguruma/OnigurumaUefiPort.h\r
27 Oniguruma/OnigurumaUefiPort.c\r
28 Oniguruma/OnigurumaIntrinsics.c | MSFT\r
29\r
30# Upstream Oniguruma code\r
31 Oniguruma/oniguruma.h\r
32 Oniguruma/regcomp.c\r
33 Oniguruma/regenc.c\r
34 Oniguruma/regenc.h\r
35 Oniguruma/regerror.c\r
36 Oniguruma/regexec.c\r
37 Oniguruma/oniggnu.h\r
38 Oniguruma/reggnu.c\r
39 Oniguruma/regint.h\r
40 Oniguruma/regparse.c\r
41 Oniguruma/regparse.h\r
42 Oniguruma/regposerr.c\r
43 Oniguruma/onigposix.h\r
44 Oniguruma/regposix.c\r
45 Oniguruma/regsyntax.c\r
46 Oniguruma/regtrav.c\r
47 Oniguruma/regversion.c\r
48 Oniguruma/st.c\r
49 Oniguruma/st.h\r
50\r
51# Supported Character Encodings\r
52 Oniguruma/enc/ascii.c\r
53 Oniguruma/enc/unicode.c\r
54 Oniguruma/enc/utf16_le.c\r
55\r
56[Packages]\r
57 MdePkg/MdePkg.dec\r
58 MdeModulePkg/MdeModulePkg.dec\r
59\r
60[LibraryClasses]\r
61 UefiBootServicesTableLib\r
62 UefiDriverEntryPoint\r
63 MemoryAllocationLib\r
64 BaseMemoryLib\r
65 DebugLib\r
e7e34696 66 PrintLib\r
14b0e578
CS
67\r
68[Guids]\r
27b5bf5d
DB
69 gEfiRegexSyntaxTypePosixExtendedGuid ## CONSUMES ## GUID\r
70 gEfiRegexSyntaxTypePerlGuid ## CONSUMES ## GUID\r
14b0e578
CS
71\r
72[Protocols]\r
27b5bf5d 73 gEfiRegularExpressionProtocolGuid ## PRODUCES \r
14b0e578
CS
74\r
75[BuildOptions]\r
76 # Override MSFT build option to remove /Oi and /GL\r
77 MSFT:DEBUG_*_IA32_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm \r
78 MSFT:RELEASE_*_IA32_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2 /FIAutoGen.h /EHs-c- /GR- /GF \r
79 MSFT:DEBUG_*_X64_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /FIAutoGen.h /EHs-c- /GR- /GF /Gy /Zi /Gm /X \r
80 MSFT:RELEASE_*_X64_CC_FLAGS == /nologo /c /WX /GS- /W4 /Gs32768 /D UNICODE /O1b2s /FIAutoGen.h /EHs-c- /GR- /GF /Gy /X \r
81 MSFT:DEBUG_*_IPF_CC_FLAGS == /nologo /c /WX /GS- /W4 /EHs-c- /GR- /Gy /Os /FIAutoGen.h /QIPF_fr32 /Zi /X \r
82 MSFT:RELEASE_*_IPF_CC_FLAGS == /nologo /c /WX /GS- /W4 /EHs-c- /GR- /Gy /Os /FIAutoGen.h /QIPF_fr32 /X \r
83 INTEL:*_*_*_CC_FLAGS = /Oi-\r
14b0e578
CS
84\r
85 # Oniguruma: potentially uninitialized local variable used\r
86 MSFT:*_*_*_CC_FLAGS = /wd4701\r
87\r
88 # Oniguruma: intrinsic function not declared\r
89 MSFT:*_*_*_CC_FLAGS = /wd4164\r
90\r
91 # Oniguruma: old style declaration in st.c\r
92 MSFT:*_*_*_CC_FLAGS = /wd4131\r
93\r
94 # Oniguruma: 'type cast' : truncation from 'OnigUChar *' to 'unsigned int' \r
95 MSFT:*_*_*_CC_FLAGS = /wd4305 /wd4306\r
96\r