Skip to content

Commit

Permalink
Address CR feedback
Browse files Browse the repository at this point in the history
  • Loading branch information
am11 committed Mar 20, 2020
1 parent 27eef50 commit 5324f02
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/coreclr/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ endif (CLR_CMAKE_HOST_WIN32)

if(MSVC)
set(CMAKE_CXX_STANDARD_LIBRARIES "") # do not link against standard win32 libs i.e. kernel32, uuid, user32, etc.
add_compile_options(/Zc:strictStrings)
if (CLR_CMAKE_HOST_ARCH_I386)
add_compile_options(/Gz)
endif (CLR_CMAKE_HOST_ARCH_I386)
Expand Down
1 change: 1 addition & 0 deletions src/coreclr/tests/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ include(${CLR_ENG_NATIVE_DIR}/configurecompiler.cmake)
set(INC_PLATFORM_DIR ${CMAKE_CURRENT_SOURCE_DIR}/src/Common/Platform)
if (CLR_CMAKE_TARGET_WIN32)
add_definitions(-DWINDOWS)
add_compile_options(/Zc:strictStrings)
if (CLR_CMAKE_HOST_ARCH_I386)
add_compile_options(/Gz)
endif (CLR_CMAKE_HOST_ARCH_I386)
Expand Down
1 change: 1 addition & 0 deletions src/libraries/Native/Unix/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ elseif (CLR_CMAKE_TARGET_ARCH_ARM)
endif ()

if(CLR_CMAKE_TARGET_ANDROID)
add_definitions(-DTARGET_ANDROID)
include_directories(SYSTEM "${CROSS_ROOTFS}/usr/include")
endif()

Expand Down

0 comments on commit 5324f02

Please sign in to comment.