CryptoPkg: fix build support under RVCT

The RVCT compiler chokes on a couple of issues in upstream OpenSSL that
can be confirmed to be non-issues by inspection. So just ignore these
warnings entirely.

Also, move the dummy -J system include from CryptoPkg.dsc to the various
.INF files, since it will not be picked up when building the CryptoPkg
libraries from a platform .DSC

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Qin Long <qin.long@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19328 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Ard Biesheuvel
2015-12-17 17:02:06 +00:00
committed by abiesheuvel
parent 0b5d7b6e2e
commit 5fa05671e2
5 changed files with 18 additions and 19 deletions

View File

@@ -87,24 +87,6 @@
[LibraryClasses.common.UEFI_APPLICATION]
BaseCryptLib|CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
###############################################################################
#
# BuildOptions Section - Define the module specific tool chain flags that
# should be used as the default flags for a module.
# These flags are appended to any standard flags that
# are defined by the build process.
#
# -JCryptoPkg/Include : To disable the use of the system includes provided by
# the RVCT toolchain.
# --diag_remark=1 : To make the warning "#1-D: last line of file ends
# without a newline" just a remark such that the
# build doesn't stop as warnings are considered as
# errors.
#
################################################################################
[BuildOptions]
RVCT:*_*_ARM_CC_FLAGS = -JCryptoPkg/Include --diag_remark=1
################################################################################
#
# Pcd Section - list of all EDK II PCD Entries defined by this Platform