summaryrefslogtreecommitdiff
path: root/compileoptions.cmake
diff options
context:
space:
mode:
authorJonghyun Park <parjong@gmail.com>2016-12-20 18:31:52 +0900
committerJan Vorlicek <janvorli@microsoft.com>2016-12-20 10:31:52 +0100
commit6d5074546d40d1fc7e2f60033cd127e3e31462d5 (patch)
treede8a315c4b4db5938ad238c59d9b855415f40d18 /compileoptions.cmake
parentdea1b9e5c0393daa420831eb74177b1fd6546181 (diff)
downloadcoreclr-6d5074546d40d1fc7e2f60033cd127e3e31462d5.tar.gz
coreclr-6d5074546d40d1fc7e2f60033cd127e3e31462d5.tar.bz2
coreclr-6d5074546d40d1fc7e2f60033cd127e3e31462d5.zip
[x86/Linux] Implement libunwind-based unwindLazyStack (#8686)
* [x86/Linux] Implement libunwind-based unwindLazyStack This commit implements libunwind-based unwindLazyStack for x86/Linux in order to fix #8625.
Diffstat (limited to 'compileoptions.cmake')
-rw-r--r--compileoptions.cmake6
1 files changed, 1 insertions, 5 deletions
diff --git a/compileoptions.cmake b/compileoptions.cmake
index 7baa86baf1..75d51fd5bb 100644
--- a/compileoptions.cmake
+++ b/compileoptions.cmake
@@ -15,11 +15,7 @@ if (CLR_CMAKE_PLATFORM_UNIX)
# We cannot enable "stack-protector-strong" on OS X due to a bug in clang compiler (current version 7.0.2)
add_compile_options(-fstack-protector)
else()
- if(NOT CLR_CMAKE_PLATFORM_ARCH_I386)
- # x86 unwinder cannot handle stack protection code, yet
- # see https://github.com/dotnet/coreclr/issues/8625 for details
- add_compile_options(-fstack-protector-strong)
- endif(NOT CLR_CMAKE_PLATFORM_ARCH_I386)
+ add_compile_options(-fstack-protector-strong)
endif(CLR_CMAKE_PLATFORM_DARWIN)
add_definitions(-DDISABLE_CONTRACTS)