- Add -fshort-wchar to host tools

svn path=/branches/cmake-bringup/; revision=50320
This commit is contained in:
Amine Khaldi
2011-01-08 11:52:58 +00:00
parent 54f486c247
commit 287ba86f03
2 changed files with 5 additions and 7 deletions
+4 -2
View File
@@ -17,6 +17,8 @@ endif()
if(NOT CMAKE_CROSSCOMPILING)
add_definitions(-fshort-wchar)
add_definitions(-DTARGET_${ARCH})
if(ARCH MATCHES i386)
@@ -51,14 +53,14 @@ else()
set(IMPORT_EXECUTABLES "${REACTOS_BUILD_TOOLS_DIR}/ImportExecutables.cmake" CACHE FILEPATH "Host executables")
include(${IMPORT_EXECUTABLES})
endif(NOT CMAKE_CROSSCOMPILING)
endif()
# Compiler specific definitions and macros
if(MSVC)
include(msc.cmake)
else()
include(gcc.cmake)
endif(MSVC)
endif()
# Generic macros
include(CMakeMacros.cmake)
+1 -5
View File
@@ -1,9 +1,5 @@
if(NOT CMAKE_CROSSCOMPILING)
add_definitions(-fshort-wchar)
else()
if(CMAKE_CROSSCOMPILING)
# Linking
link_directories("${REACTOS_SOURCE_DIR}/importlibs" ${REACTOS_BINARY_DIR}/lib/3rdparty/mingw)