diff --git a/lib/sdk/crt/CMakeLists.txt b/lib/sdk/crt/CMakeLists.txt index e527d6ff7a1..2e030836c86 100644 --- a/lib/sdk/crt/CMakeLists.txt +++ b/lib/sdk/crt/CMakeLists.txt @@ -571,11 +571,13 @@ add_library(libcntpr ${LIBCNTPR_SOURCE}) set_property(TARGET libcntpr PROPERTY COMPILE_DEFINITIONS NO_RTL_INLINES _NTSYSTEM_ _NTDLLBUILD_ _LIBCNT_ __CRT__NO_INLINE) add_dependencies(libcntpr psdk buildno_header asm) +if(MSVC) # This is a temporary solution until we have proper crt libs list(APPEND MSVCSUP_SOURCE -# misc/fltused.c FIXME: missing file ? + misc/fltused.c except/i386/chkstk_asm.s math/i386/ftol2_asm.S) add_library(msvcsup ${MSVCSUP_SOURCE}) add_dependencies(msvcsup psdk buildno_header asm) +endif() diff --git a/lib/sdk/crt/misc/fltused.c b/lib/sdk/crt/misc/fltused.c new file mode 100644 index 00000000000..bf706c69c52 --- /dev/null +++ b/lib/sdk/crt/misc/fltused.c @@ -0,0 +1,2 @@ + +int _fltused;