summaryrefslogtreecommitdiff
path: root/src/corefx
diff options
context:
space:
mode:
authorRahul Kumar <rahku@microsoft.com>2016-04-12 14:40:23 -0700
committerRahul Kumar <rahku@microsoft.com>2016-04-18 22:17:29 -0700
commit7f46dbe0c6b0785a4e40978da684b1dc81d0b8ce (patch)
tree2de78686eb771e11d7276c69791405550bbd0311 /src/corefx
parent0a31fe90800bd45e3c3668483dbe27358864170e (diff)
downloadcoreclr-7f46dbe0c6b0785a4e40978da684b1dc81d0b8ce.tar.gz
coreclr-7f46dbe0c6b0785a4e40978da684b1dc81d0b8ce.tar.bz2
coreclr-7f46dbe0c6b0785a4e40978da684b1dc81d0b8ce.zip
enable build of cross target components.
Currently only enabled for arm64
Diffstat (limited to 'src/corefx')
-rw-r--r--src/corefx/CMakeLists.txt2
-rw-r--r--src/corefx/System.Globalization.Native/CMakeLists.txt2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/corefx/CMakeLists.txt b/src/corefx/CMakeLists.txt
index 7bd522d3bf..5abcaa32c9 100644
--- a/src/corefx/CMakeLists.txt
+++ b/src/corefx/CMakeLists.txt
@@ -9,6 +9,8 @@
# assemblies) or System.Diagnostics.Process.Native (a native interop library for
# System.Diagnostics.Process.dll).
+remove_definitions(-D_WIN64)
+
if(CLR_CMAKE_PLATFORM_UNIX)
add_subdirectory(System.Globalization.Native)
endif(CLR_CMAKE_PLATFORM_UNIX)
diff --git a/src/corefx/System.Globalization.Native/CMakeLists.txt b/src/corefx/System.Globalization.Native/CMakeLists.txt
index bf279efe6a..3d9e392132 100644
--- a/src/corefx/System.Globalization.Native/CMakeLists.txt
+++ b/src/corefx/System.Globalization.Native/CMakeLists.txt
@@ -52,7 +52,7 @@ set(NATIVEGLOBALIZATION_SOURCES
include_directories(${UTYPES_H})
-add_library(System.Globalization.Native
+_add_library(System.Globalization.Native
SHARED
${NATIVEGLOBALIZATION_SOURCES}
)