1 |
commit: c682b9fdcbf9977e0da01970c2d162461765b7d4 |
2 |
Author: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 20 04:24:06 2019 +0000 |
4 |
Commit: Matthias Maier <tamiko <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 20 04:24:06 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c682b9fd |
7 |
|
8 |
sys-firmware/edk2-ovmf: drop vulnerable |
9 |
|
10 |
Bug: https://bugs.gentoo.org/678906 |
11 |
Package-Manager: Portage-2.3.72, Repoman-2.3.17 |
12 |
Signed-off-by: Matthias Maier <tamiko <AT> gentoo.org> |
13 |
|
14 |
sys-firmware/edk2-ovmf/Manifest | 2 - |
15 |
.../edk2-ovmf/edk2-ovmf-2017_p20180211.ebuild | 110 --------------------- |
16 |
...k2-ovmf-2017_p20180211-build_system_fixes.patch | 91 ----------------- |
17 |
3 files changed, 203 deletions(-) |
18 |
|
19 |
diff --git a/sys-firmware/edk2-ovmf/Manifest b/sys-firmware/edk2-ovmf/Manifest |
20 |
index 579051780e0..fa1a6639d99 100644 |
21 |
--- a/sys-firmware/edk2-ovmf/Manifest |
22 |
+++ b/sys-firmware/edk2-ovmf/Manifest |
23 |
@@ -1,5 +1,3 @@ |
24 |
-DIST edk2-ovmf-2017_p20180211-bin.tar.xz 910896 BLAKE2B 2d2ead282cebc1254cae2b10042f809e887a17a83fe67998ddcadf86cdf07e615594b243ab35d3fa8a6d6ce218f8f0bad758ee1db2ab4ff6c08d65419f4078b0 SHA512 88c3c4d7cecc2af1cc4dfa06686f34cc3a5facfb24750c766b47f53dec7267b95b58b391d23038e6a589d1687d2c117f1912d10118e26f99c0906c3d8e90deed |
25 |
-DIST edk2-ovmf-2017_p20180211.tar.xz 22977736 BLAKE2B 4d95eaf3017668197632ab7e035ad6c9f1490bde3d27e575170541fd64773fef8676406c88451b8dc996d9d7dd625fa389279105951f02e08f6de025075bd172 SHA512 ee3d70da562ed7dc4647576da8605d25fd9f991b4a96c2ed106e0d1b697af9e0624ad161750ccba7ab3db553ab1c6177780dd9c29a70073eb17729e9ae24c5a7 |
26 |
DIST edk2-ovmf-201905-bin.tar.xz 3017256 BLAKE2B 6a106f111a363f1c2de33c4e7eba48183da6047654512939c286c6d0369e3b4c7705c271e61fa95299ba2b629022be7b5ef665ff096d41373583f5409b5c32fb SHA512 4a174dc1d64769a93de3bf5f9d787e278bfab57e2317699d722aa772e64e8867b3998b7feee58d5e4c66adc79ba9c5023dae2ce786159db7a740b86cf35d923d |
27 |
DIST edk2-ovmf-201905-bundled.tar.xz 3538508 BLAKE2B a1766180c84ee83987f50fdb6a6c9891dfb983ff78c98f7bc38635ffe484ebf29d4286ff97d7747080e28a655ff14b5939d4505d75ebe6655ecacc7f9d405469 SHA512 be3d8ef1ffb1ddce64883d9ef8dc598c7026d23d2e33c33949d28de81513b6a7f04f840ccb3d42664e918c6603487fbe594261c327921f3250c3998218572774 |
28 |
DIST edk2-ovmf-201905.tar.gz 14551747 BLAKE2B 6fb3385445fd01c0dea26295a68de2691524e55c96d8a0e85aab1385a9abddc47c13ce3236b952c1299514e542ad0fa4bc9550cc4527945c05109d227a698293 SHA512 91188923f7d1ab83c0d6abf7ec6d59f357d0341a617ad6a3ae05f3d0e041dff43f62b014b0c5fc5d15e16d8f1c279c581a5cd64b31e3d52b340d7ef90adb50f1 |
29 |
|
30 |
diff --git a/sys-firmware/edk2-ovmf/edk2-ovmf-2017_p20180211.ebuild b/sys-firmware/edk2-ovmf/edk2-ovmf-2017_p20180211.ebuild |
31 |
deleted file mode 100644 |
32 |
index 380bbdaac45..00000000000 |
33 |
--- a/sys-firmware/edk2-ovmf/edk2-ovmf-2017_p20180211.ebuild |
34 |
+++ /dev/null |
35 |
@@ -1,110 +0,0 @@ |
36 |
-# Copyright 1999-2019 Gentoo Authors |
37 |
-# Distributed under the terms of the GNU General Public License v2 |
38 |
- |
39 |
-EAPI=6 |
40 |
- |
41 |
-PYTHON_REQ_USE="sqlite" |
42 |
-PYTHON_COMPAT=( python2_7 ) |
43 |
- |
44 |
-inherit eutils python-any-r1 readme.gentoo-r1 |
45 |
- |
46 |
-DESCRIPTION="UEFI firmware for 64-bit x86 virtual machines" |
47 |
-HOMEPAGE="https://github.com/tianocore/edk2" |
48 |
- |
49 |
-SOURCE_DEPEND=" |
50 |
- >=dev-lang/nasm-2.0.7 |
51 |
- >=sys-power/iasl-20160729 |
52 |
- ${PYTHON_DEPS} |
53 |
-" |
54 |
-DEPEND="" |
55 |
-RDEPEND="" |
56 |
- |
57 |
-if [[ ${PV} == "9999" ]] ; then |
58 |
- inherit git-r3 |
59 |
- EGIT_REPO_URI="https://github.com/tianocore/edk2" |
60 |
- DEPEND+=" |
61 |
- ${SOURCE_DEPEND}" |
62 |
-else |
63 |
- SRC_URI=" |
64 |
- binary? ( https://dev.gentoo.org/~tamiko/distfiles/${P}-bin.tar.xz ) |
65 |
- !binary? ( https://dev.gentoo.org/~tamiko/distfiles/${P}.tar.xz )" |
66 |
- KEYWORDS="amd64 ~arm64 ~ppc ~ppc64 x86 ~x86-fbsd" |
67 |
- IUSE="+binary" |
68 |
- REQUIRED_USE+=" |
69 |
- !amd64? ( binary ) |
70 |
- " |
71 |
- DEPEND+=" |
72 |
- !binary? ( amd64? ( ${SOURCE_DEPEND} ) )" |
73 |
-fi |
74 |
- |
75 |
-LICENSE="BSD-2 MIT" |
76 |
-SLOT="0" |
77 |
- |
78 |
-DISABLE_AUTOFORMATTING=true |
79 |
-DOC_CONTENTS="This package contains the tianocore edk2 UEFI firmware for 64-bit x86 |
80 |
-virtual machines. The firmware is located under |
81 |
- /usr/share/edk2-ovmf/OVMF.fd |
82 |
- /usr/share/edk2-ovmf/OVMF_CODE.fd |
83 |
- /usr/share/edk2-ovmf/OVMF_VARS.fd |
84 |
- |
85 |
-The firmware does not support csm (due to no free csm implementation |
86 |
-available). If you need a firmware with csm support you have to download |
87 |
-one for yourself. Firmware blobs are commonly labeled |
88 |
- OVMF{,_CODE,_VARS}-with-csm.fd |
89 |
- |
90 |
-In order to use the firmware you can run qemu the following way |
91 |
- |
92 |
- $ qemu-system-x86_64 \ |
93 |
- -drive file=/usr/share/edk2-ovmf/OVMF.fd,if=pflash,format=raw,unit=0,readonly=on \ |
94 |
- ... |
95 |
- |
96 |
-You can register the firmware for use in libvirt by adding to /etc/libvirt/qemu.conf: |
97 |
- nvram = [ |
98 |
- \"/usr/share/edk2-ovmf/OVMF_CODE.fd:/usr/share/edk2-ovmf/OVMF_VARS.fd\" |
99 |
- ]" |
100 |
- |
101 |
-PATCHES=( |
102 |
- "${FILESDIR}"/${P}-build_system_fixes.patch |
103 |
-) |
104 |
- |
105 |
-pkg_setup() { |
106 |
- [[ ${PV} != "9999" ]] && use binary || python-any-r1_pkg_setup |
107 |
-} |
108 |
- |
109 |
-src_prepare() { |
110 |
- if [[ ${PV} != "9999" ]] && use binary; then |
111 |
- eapply_user |
112 |
- return |
113 |
- fi |
114 |
- default |
115 |
-} |
116 |
- |
117 |
-src_compile() { |
118 |
- TARGET_ARCH=X64 |
119 |
- TARGET_NAME=RELEASE |
120 |
- TARGET_TOOLS=GCC49 |
121 |
- |
122 |
- [[ ${PV} != "9999" ]] && use binary && return |
123 |
- |
124 |
- emake ARCH=${TARGET_ARCH} -C BaseTools -j1 |
125 |
- |
126 |
- . ./edksetup.sh |
127 |
- |
128 |
- ./OvmfPkg/build.sh \ |
129 |
- -a "${TARGET_ARCH}" -b "${TARGET_NAME}" -t "${TARGET_TOOLS}" \ |
130 |
- -D FD_SIZE_2MB \ |
131 |
- || die "OvmfPkg/build.sh failed" |
132 |
-} |
133 |
- |
134 |
-src_install() { |
135 |
- local builddir="Build/OvmfX64/${TARGET_NAME}_${TARGET_TOOLS}/FV" |
136 |
- |
137 |
- insinto /usr/share/${PN} |
138 |
- doins "${builddir}"/OVMF{,_CODE,_VARS}.fd |
139 |
- |
140 |
- readme.gentoo_create_doc |
141 |
-} |
142 |
- |
143 |
-pkg_postinst() { |
144 |
- readme.gentoo_print_elog |
145 |
-} |
146 |
|
147 |
diff --git a/sys-firmware/edk2-ovmf/files/edk2-ovmf-2017_p20180211-build_system_fixes.patch b/sys-firmware/edk2-ovmf/files/edk2-ovmf-2017_p20180211-build_system_fixes.patch |
148 |
deleted file mode 100644 |
149 |
index cdb465336e1..00000000000 |
150 |
--- a/sys-firmware/edk2-ovmf/files/edk2-ovmf-2017_p20180211-build_system_fixes.patch |
151 |
+++ /dev/null |
152 |
@@ -1,91 +0,0 @@ |
153 |
-diff --git a/BaseTools/Conf/tools_def.template b/BaseTools/Conf/tools_def.template |
154 |
-index 427ad60..c2b6d83 100755 |
155 |
---- a/BaseTools/Conf/tools_def.template |
156 |
-+++ b/BaseTools/Conf/tools_def.template |
157 |
-@@ -4500,7 +4500,7 @@ RELEASE_*_*_OBJCOPY_ADDDEBUGFLAG = |
158 |
- NOOPT_*_*_OBJCOPY_ADDDEBUGFLAG = --add-gnu-debuglink=$(DEBUG_DIR)/$(MODULE_NAME).debug |
159 |
- *_*_*_DTC_FLAGS = -H epapr |
160 |
- |
161 |
--DEFINE GCC_ALL_CC_FLAGS = -g -Os -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -include AutoGen.h -fno-common |
162 |
-+DEFINE GCC_ALL_CC_FLAGS = -g -Os -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Wno-array-bounds -include AutoGen.h -fno-common |
163 |
- DEFINE GCC_IA32_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -m32 -malign-double -freorder-blocks -freorder-blocks-and-partition -O2 -mno-stack-arg-probe |
164 |
- DEFINE GCC_X64_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -mno-red-zone -Wno-address -mno-stack-arg-probe |
165 |
- DEFINE GCC_IPF_CC_FLAGS = DEF(GCC_ALL_CC_FLAGS) -minline-int-divide-min-latency |
166 |
-@@ -4535,7 +4535,7 @@ DEFINE GCC_IPF_RC_FLAGS = -I binary -O elf64-ia64-little -B ia64 |
167 |
- DEFINE GCC_ARM_RC_FLAGS = -I binary -O elf32-littlearm -B arm --rename-section .data=.hii |
168 |
- DEFINE GCC_AARCH64_RC_FLAGS = -I binary -O elf64-littleaarch64 -B aarch64 --rename-section .data=.hii |
169 |
- |
170 |
--DEFINE GCC44_ALL_CC_FLAGS = -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Werror -Wno-array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno-common -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings |
171 |
-+DEFINE GCC44_ALL_CC_FLAGS = -g -fshort-wchar -fno-builtin -fno-strict-aliasing -Wall -Wno-array-bounds -ffunction-sections -fdata-sections -include AutoGen.h -fno-common -DSTRING_ARRAY_NAME=$(BASE_NAME)Strings |
172 |
- DEFINE GCC44_IA32_CC_FLAGS = DEF(GCC44_ALL_CC_FLAGS) -m32 -march=i586 -malign-double -fno-stack-protector -D EFI32 -fno-asynchronous-unwind-tables |
173 |
- DEFINE GCC44_X64_CC_FLAGS = DEF(GCC44_ALL_CC_FLAGS) -m64 -fno-stack-protector "-DEFIAPI=__attribute__((ms_abi))" -maccumulate-outgoing-args -mno-red-zone -Wno-address -mcmodel=small -fpie -fno-asynchronous-unwind-tables |
174 |
- DEFINE GCC44_IA32_X64_DLINK_COMMON = -nostdlib -Wl,-n,-q,--gc-sections -z common-page-size=0x20 |
175 |
-@@ -6139,7 +6139,7 @@ RELEASE_CLANG38_AARCH64_DLINK_FLAGS = DEF(CLANG38_AARCH64_DLINK_FLAGS) -flto -Wl |
176 |
- *_ELFGCC_X64_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc |
177 |
- *_ELFGCC_X64_RC_PATH = DEF(ELFGCC_BIN)/objcopy |
178 |
- |
179 |
--*_ELFGCC_X64_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-address -Wno-array-bounds -include AutoGen.h -D_EFI_P64 |
180 |
-+*_ELFGCC_X64_CC_FLAGS = -Os -fshort-wchar -fno-strict-aliasing -Wall -Wno-address -Wno-array-bounds -include AutoGen.h -D_EFI_P64 |
181 |
- *_ELFGCC_X64_DLINK_FLAGS = -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map |
182 |
- *_ELFGCC_X64_SLINK_FLAGS = |
183 |
- *_ELFGCC_X64_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h |
184 |
-@@ -6162,7 +6162,7 @@ RELEASE_CLANG38_AARCH64_DLINK_FLAGS = DEF(CLANG38_AARCH64_DLINK_FLAGS) -flto -Wl |
185 |
- *_ELFGCC_IPF_VFRPP_PATH = DEF(ELFGCC_BIN)/gcc |
186 |
- *_ELFGCC_IPF_RC_PATH = DEF(ELFGCC_BIN)/objcopy |
187 |
- |
188 |
--*_ELFGCC_IPF_CC_FLAGS = -Os -fshort-wchar -Wall -Werror -include AutoGen.h -D_EFI_P64 |
189 |
-+*_ELFGCC_IPF_CC_FLAGS = -Os -fshort-wchar -Wall -include AutoGen.h -D_EFI_P64 |
190 |
- *_ELFGCC_IPF_DLINK_FLAGS = -nostdlib --shared --entry $(IMAGE_ENTRY_POINT) -u $(IMAGE_ENTRY_POINT) -Map $(DEST_DIR_DEBUG)/$(BASE_NAME).map |
191 |
- *_ELFGCC_IPF_SLINK_FLAGS = |
192 |
- *_ELFGCC_IPF_ASM_FLAGS = -c -x assembler -imacros $(DEST_DIR_DEBUG)/AutoGen.h |
193 |
-@@ -7553,7 +7553,7 @@ NOOPT_MYTOOLS_IPF_DLINK_FLAGS = /NOLOGO /NODEFAULTLIB /LTCG /DLL /OPT |
194 |
- ################## |
195 |
- # ASL definitions |
196 |
- ################## |
197 |
--*_XCODE5_*_ASLCC_FLAGS = -x c -save-temps -g -O0 -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-missing-braces -c -include AutoGen.h |
198 |
-+*_XCODE5_*_ASLCC_FLAGS = -x c -save-temps -g -O0 -fshort-wchar -fno-strict-aliasing -Wall -Wno-missing-braces -c -include AutoGen.h |
199 |
- *_XCODE5_*_ASLDLINK_FLAGS = -e _ReferenceAcpiTable -preload -segalign 0x20 -pie -seg1addr 0x240 -read_only_relocs suppress -map $(DEST_DIR_DEBUG)/$(BASE_NAME).map |
200 |
- *_XCODE5_*_ASLPP_FLAGS = -x c -E -include AutoGen.h |
201 |
- *_XCODE5_*_ASL_FLAGS = |
202 |
-@@ -7581,9 +7581,9 @@ RELEASE_XCODE5_IA32_ASM_FLAGS = -arch i386 |
203 |
- *_XCODE5_IA32_NASM_FLAGS = -f macho32 |
204 |
- |
205 |
- |
206 |
-- DEBUG_XCODE5_IA32_CC_FLAGS = -arch i386 -c -g -Os -Wall -Werror -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin -fshort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float -mms-bitfields -msoft-float -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS) |
207 |
--RELEASE_XCODE5_IA32_CC_FLAGS = -arch i386 -c -Os -Wall -Werror -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin -fshort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float -mms-bitfields -msoft-float -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -Wno-unused-const-variable -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS) |
208 |
-- NOOPT_XCODE5_IA32_CC_FLAGS = -arch i386 -c -g -O0 -Wall -Werror -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin -fshort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float -mms-bitfields -msoft-float -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS) |
209 |
-+ DEBUG_XCODE5_IA32_CC_FLAGS = -arch i386 -c -g -Os -Wall -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin -fshort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float -mms-bitfields -msoft-float -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS) |
210 |
-+RELEASE_XCODE5_IA32_CC_FLAGS = -arch i386 -c -Os -Wall -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin -fshort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float -mms-bitfields -msoft-float -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -Wno-unused-const-variable -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS) |
211 |
-+ NOOPT_XCODE5_IA32_CC_FLAGS = -arch i386 -c -g -O0 -Wall -include AutoGen.h -funsigned-char -fno-stack-protector -fno-builtin -fshort-wchar -fasm-blocks -mdynamic-no-pic -mno-implicit-float -mms-bitfields -msoft-float -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang $(PLATFORM_FLAGS) |
212 |
- |
213 |
- ################## |
214 |
- # X64 definitions |
215 |
-@@ -7600,9 +7600,9 @@ RELEASE_XCODE5_X64_ASM_FLAGS = -arch x86_64 |
216 |
- *_XCODE5_*_PP_FLAGS = -E -x assembler-with-cpp -include $(DEST_DIR_DEBUG)/AutoGen.h |
217 |
- *_XCODE5_*_VFRPP_FLAGS = -x c -E -P -DVFRCOMPILE -include $(DEST_DIR_DEBUG)/$(MODULE_NAME)StrDefs.h |
218 |
- |
219 |
-- DEBUG_XCODE5_X64_CC_FLAGS = -target x86_64-pc-win32-macho -c -g -Os -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno-implicit-float -mms-bitfields -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -D NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS) |
220 |
-- NOOPT_XCODE5_X64_CC_FLAGS = -target x86_64-pc-win32-macho -c -g -O0 -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno-implicit-float -mms-bitfields -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -D NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS) |
221 |
--RELEASE_XCODE5_X64_CC_FLAGS = -target x86_64-pc-win32-macho -c -Os -Wall -Werror -Wextra -include AutoGen.h -funsigned-char -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno-implicit-float -mms-bitfields -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -Wno-unused-const-variable -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -D NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS) |
222 |
-+ DEBUG_XCODE5_X64_CC_FLAGS = -target x86_64-pc-win32-macho -c -g -Os -Wall -Wextra -include AutoGen.h -funsigned-char -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno-implicit-float -mms-bitfields -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -D NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS) |
223 |
-+ NOOPT_XCODE5_X64_CC_FLAGS = -target x86_64-pc-win32-macho -c -g -O0 -Wall -Wextra -include AutoGen.h -funsigned-char -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno-implicit-float -mms-bitfields -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -D NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS) |
224 |
-+RELEASE_XCODE5_X64_CC_FLAGS = -target x86_64-pc-win32-macho -c -Os -Wall -Wextra -include AutoGen.h -funsigned-char -fno-ms-extensions -fno-stack-protector -fno-builtin -fshort-wchar -mno-implicit-float -mms-bitfields -Wno-unused-parameter -Wno-missing-braces -Wno-missing-field-initializers -Wno-tautological-compare -Wno-sign-compare -Wno-varargs -Wno-unused-const-variable -ftrap-function=undefined_behavior_has_been_optimized_away_by_clang -D NO_MSABI_VA_FUNCS $(PLATFORM_FLAGS) |
225 |
- |
226 |
- #################################################################################### |
227 |
- # |
228 |
-diff --git a/BaseTools/Source/C/Makefiles/header.makefile b/BaseTools/Source/C/Makefiles/header.makefile |
229 |
-index 0976973..d9ee70e 100644 |
230 |
---- a/BaseTools/Source/C/Makefiles/header.makefile |
231 |
-+++ b/BaseTools/Source/C/Makefiles/header.makefile |
232 |
-@@ -71,9 +71,9 @@ INCLUDE = $(TOOL_INCLUDE) -I $(MAKEROOT) -I $(MAKEROOT)/Include/Common -I $(MAKE |
233 |
- BUILD_CPPFLAGS = $(INCLUDE) -O2 |
234 |
- ifeq ($(DARWIN),Darwin) |
235 |
- # assume clang or clang compatible flags on OS X |
236 |
--BUILD_CFLAGS = -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -c -g |
237 |
-+BUILD_CFLAGS = -MD -fshort-wchar -fno-strict-aliasing -Wall -Wno-deprecated-declarations -Wno-self-assign -Wno-unused-result -nostdlib -c -g |
238 |
- else |
239 |
--BUILD_CFLAGS = -MD -fshort-wchar -fno-strict-aliasing -Wall -Werror -Wno-deprecated-declarations -Wno-unused-result -nostdlib -c -g |
240 |
-+BUILD_CFLAGS = -MD -fshort-wchar -fno-strict-aliasing -Wall -Wno-deprecated-declarations -Wno-unused-result -nostdlib -c -g |
241 |
- endif |
242 |
- BUILD_LFLAGS = |
243 |
- BUILD_CXXFLAGS = -Wno-unused-result |