Skip to content

Commit ebcab67

Browse files
authored
Merge pull request #735 from llly/fix_gcc11
Fix aesm_service optimization issue for GCC11
2 parents 5178e0c + f97ea5b commit ebcab67

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

psw/ae/aesm_service/source/oal/CMakeLists.txt

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,5 +25,7 @@ target_compile_definitions(oal PRIVATE
2525
$<$<CONFIG:Debug>:DBG_LOG>
2626
)
2727

28+
set_source_files_properties(linux/aesm_util.cpp PROPERTIES COMPILE_FLAGS "-fno-optimize-sibling-calls")
29+
2830
target_link_libraries(oal Threads::Threads ${CMAKE_DL_LIBS})
2931
set_property(TARGET oal APPEND_STRING PROPERTY LINK_FLAGS " -Wl,-z,defs")

0 commit comments

Comments
 (0)