summaryrefslogtreecommitdiffstats
path: root/CryptoPkg
diff options
context:
space:
mode:
authorHou, Wenxing <wenxing.hou@intel.com>2024-01-04 16:34:15 +0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2024-01-08 09:34:31 +0000
commite7152e6186d31bc138fbd2592e07886005177aab (patch)
tree9e995274617a23fda99eb40eec98511ae3b713cb /CryptoPkg
parentc3d865a4c21d91f2e338a91d0c8b1eaf205575b5 (diff)
downloadedk2-e7152e6186d31bc138fbd2592e07886005177aab.tar.gz
edk2-e7152e6186d31bc138fbd2592e07886005177aab.tar.bz2
edk2-e7152e6186d31bc138fbd2592e07886005177aab.zip
CryptoPkg: fix gcc build fail for CryptoPkgMbedtls
REF:https://bugzilla.tianocore.org/show_bug.cgi?id=4630 Enable MBEDTLS_NO_UDBL_DIVISION to fix GCC x64 build failure. Cc: Jiewen Yao <jiewen.yao@intel.com> Cc: Yi Li <yi1.li@intel.com> Cc: Guomin Jiang <guomin.jiang@intel.com> Signed-off-by: Wenxing Hou <wenxing.hou@intel.com> Reviewed-by: Yi Li <yi1.li@intel.com>
Diffstat (limited to 'CryptoPkg')
-rw-r--r--CryptoPkg/Library/MbedTlsLib/Include/mbedtls/mbedtls_config.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/CryptoPkg/Library/MbedTlsLib/Include/mbedtls/mbedtls_config.h b/CryptoPkg/Library/MbedTlsLib/Include/mbedtls/mbedtls_config.h
index ae9ef3a1b3..3068612c08 100644
--- a/CryptoPkg/Library/MbedTlsLib/Include/mbedtls/mbedtls_config.h
+++ b/CryptoPkg/Library/MbedTlsLib/Include/mbedtls/mbedtls_config.h
@@ -67,7 +67,7 @@
* example, if double-width division is implemented in software, disabling
* it can reduce code size in some embedded targets.
*/
-// #define MBEDTLS_NO_UDBL_DIVISION
+#define MBEDTLS_NO_UDBL_DIVISION
/**
* \def MBEDTLS_NO_64BIT_MULTIPLICATION