We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ab71979 commit 05ff111Copy full SHA for 05ff111
src/trusted/service_runtime/linux/CMakeLists.txt
@@ -65,7 +65,11 @@ if (ARCH_amd64)
65
# truncated, which produces an error. With mcmodel set to large,
66
# there is no restriction on the code and data, so we can
67
# safely set reserve_top to 0x100000000.
68
- list(APPEND BOOTSTRAP_FLAGS "-mcmodel=large")
+ if (DAEMON_CXX_COMPILER_Clang_COMPATIBILITY)
69
+ list(APPEND BOOTSTRAP_FLAGS "-mcmodel=medium")
70
+ else()
71
+ list(APPEND BOOTSTRAP_FLAGS "-mcmodel=large")
72
+ endif()
73
else()
74
set(RESERVE_TOP "0x0")
75
endif()
0 commit comments