Last active
June 23, 2020 01:31
-
-
Save vcsjones/1d6f35b60d46f9fa1aedc89ce300c0c6 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff --git a/eng/native/configureplatform.cmake b/eng/native/configureplatform.cmake | |
index 8c4ddff8d23..e0819c5d933 100644 | |
--- a/eng/native/configureplatform.cmake | |
+++ b/eng/native/configureplatform.cmake | |
@@ -381,7 +381,7 @@ if(NOT CLR_CMAKE_TARGET_BROWSER) | |
# but since we know that PIE is supported, we can safely skip this redundant check). | |
# | |
# The default linker on Solaris also does not support PIE. | |
- if(NOT CLR_CMAKE_TARGET_ANDROID AND NOT CLR_CMAKE_TARGET_SUNOS) | |
+ if(NOT CLR_CMAKE_TARGET_ANDROID AND NOT CLR_CMAKE_TARGET_SUNOS AND NOT CLR_CMAKE_TARGET_OSX) | |
# All code we build should be compiled as position independent | |
get_property(languages GLOBAL PROPERTY ENABLED_LANGUAGES) | |
if("CXX" IN_LIST languages) | |
diff --git a/src/libraries/Native/Unix/System.Globalization.Native/CMakeLists.txt b/src/libraries/Native/Unix/System.Globalization.Native/CMakeLists.txt | |
index 1942630a82e..f476ef73047 100644 | |
--- a/src/libraries/Native/Unix/System.Globalization.Native/CMakeLists.txt | |
+++ b/src/libraries/Native/Unix/System.Globalization.Native/CMakeLists.txt | |
@@ -12,6 +12,7 @@ if(CLR_CMAKE_TARGET_UNIX) | |
# Workaround for https://unicode-org.atlassian.net/browse/ICU-20601 | |
add_compile_options(-Wno-extra-semi-stmt) | |
add_compile_options(-Wno-unknown-warning-option) | |
+ add_compile_options(-Wno-deprecated-declarations) | |
if (NOT CLR_CMAKE_TARGET_ANDROID) | |
set(ICU_HOMEBREW_INC_PATH "/usr/local/opt/icu4c/include") |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment