From e3839c636e171eff5960d53c65a49843c657ca65 Mon Sep 17 00:00:00 2001 From: ss Date: Sun, 29 Sep 2024 20:07:28 +0200 Subject: [PATCH] Build SoftFloat with MSVC Fixes these errors: ``` LibSoftfloat.lib(netf2.obj) : error LNK2001: unresolved external symbol _softfloat_float128_eq LibSoftfloat.lib(lttf2.obj) : error LNK2001: unresolved external symbol _softfloat_float128_lt LibSoftfloat.lib(letf2.obj) : error LNK2001: unresolved external symbol _softfloat_float128_le ``` Signed-off-by: Sergey Sudnitsyn [kotbegemoth@gmail.com](mailto:kotbegemoth@gmail.com) --- StdLib/LibC/Softfloat/Softfloat.inf | 1 + 1 file changed, 1 insertion(+) diff --git a/StdLib/LibC/Softfloat/Softfloat.inf b/StdLib/LibC/Softfloat/Softfloat.inf index 460406c3..b7a4f1cc 100644 --- a/StdLib/LibC/Softfloat/Softfloat.inf +++ b/StdLib/LibC/Softfloat/Softfloat.inf @@ -72,3 +72,4 @@ [BuildOptions] GCC:*_*_*_CC_FLAGS = -DSOFTFLOAT_FOR_GCC -Wno-enum-compare -fno-tree-vrp -fno-lto + MSFT:*_*_*_CC_FLAGS = -DSOFTFLOAT_FOR_GCC