Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dotnet/runtime.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve MacLean <Steve.MacLean@microsoft.com>2020-11-13 00:46:09 +0300
committerGitHub <noreply@github.com>2020-11-13 00:46:09 +0300
commite5dd1a4650a8c397d21138316cd954c31b1c25fc (patch)
tree586f67619629a1b6e22e538759f2e8c37c004139 /eng/native/functions.cmake
parent1393e8385eeda83c0af77a9c23de1f4535fcc7ec (diff)
OSX Add option -no_code_signature_warning (#44604)
When building on Apple Silicon the stripping pass warns about breaking signing despite not having signed the binary yet. Disable the warning
Diffstat (limited to 'eng/native/functions.cmake')
-rw-r--r--eng/native/functions.cmake2
1 files changed, 1 insertions, 1 deletions
diff --git a/eng/native/functions.cmake b/eng/native/functions.cmake
index 10c17e69264..20c7a68c2cd 100644
--- a/eng/native/functions.cmake
+++ b/eng/native/functions.cmake
@@ -268,7 +268,7 @@ function(strip_symbols targetName outputFilename)
string(TOLOWER "${CMAKE_BUILD_TYPE}" LOWERCASE_CMAKE_BUILD_TYPE)
if (LOWERCASE_CMAKE_BUILD_TYPE STREQUAL release)
- set(strip_command ${STRIP} -S ${strip_source_file})
+ set(strip_command ${STRIP} -no_code_signature_warning -S ${strip_source_file})
else ()
set(strip_command)
endif ()