summaryrefslogtreecommitdiffstats
path: root/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
diff options
context:
space:
mode:
authorArd Biesheuvel <ard.biesheuvel@linaro.org>2015-12-17 17:02:06 +0000
committerHao Wu <hao.a.wu@intel.com>2016-02-24 16:17:57 +0800
commitb26f550219797b73687705c9aa1d2fb071d784cb (patch)
treea997c10fe9229aeb1bda7565f30a4fa1be3f0f54 /CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
parent39cad952199ab911cd0794883278eaf3bcf841be (diff)
downloadedk2-b26f550219797b73687705c9aa1d2fb071d784cb.tar.gz
edk2-b26f550219797b73687705c9aa1d2fb071d784cb.tar.bz2
edk2-b26f550219797b73687705c9aa1d2fb071d784cb.zip
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 (cherry picked from commit 5fa05671e2ac0dafc52eb3b8049b4ac95f54d3bf)
Diffstat (limited to 'CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf')
-rw-r--r--CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf4
1 files changed, 4 insertions, 0 deletions
diff --git a/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf b/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
index 05cfe11b2c..a66faf1c04 100644
--- a/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
+++ b/CryptoPkg/Library/BaseCryptLib/BaseCryptLib.inf
@@ -95,3 +95,7 @@
# C4305: truncation from type1 to type2 (Introduced by RFC3161 Timestamp ASN.1 declarations)
MSFT:*_*_*_CC_FLAGS = /wd4305
GCC:*_GCC44_IA32_CC_FLAGS = "-D__cdecl=__attribute__((cdecl))" "-D__declspec(t)=__attribute__((t))"
+
+ # -JCryptoPkg/Include : To disable the use of the system includes provided by RVCT
+ # --diag_remark=1 : Reduce severity of "#1-D: last line of file ends without a newline"
+ RVCT:*_*_ARM_CC_FLAGS = -JCryptoPkg/Include --diag_remark=1