From a97affe62a590b0e4a778e82d94cee20fa97522d Mon Sep 17 00:00:00 2001 From: Timo Kreuzer Date: Sat, 27 Nov 2010 23:47:10 +0000 Subject: [PATCH] [CMAKE] Fix build of msvcsup (add missing file) svn path=/branches/cmake-bringup/; revision=49829 --- lib/sdk/crt/CMakeLists.txt | 4 +++- lib/sdk/crt/misc/fltused.c | 2 ++ 2 files changed, 5 insertions(+), 1 deletion(-) create mode 100644 lib/sdk/crt/misc/fltused.c 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; -- 2.17.1