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