Skip to content

Commit

Permalink
fix ubuntu 18 & 20 build
Browse files Browse the repository at this point in the history
  • Loading branch information
dimas1185 committed Jan 24, 2023
1 parent b7a0f32 commit 90506ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libraries/native/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -351,7 +351,7 @@ if (${PARENT_PROJECT_NAME} STREQUAL "cdt_tools")
${CMAKE_SOURCE_DIR}/../libraries/boost/include
${CMAKE_SOURCE_DIR}/../libraries/meta_refl/include)
# suppress executable stack warning. this is due to absence of .note.GNU-stack
target_link_libraries(${PROJECT_NAME} PUBLIC "-Wl,-z noexecstack")
target_link_libraries(${PROJECT_NAME} PUBLIC "-Wl,-z,noexecstack")
else()
add_native_library ( native STATIC ${softfloat_sources} intrinsics.cpp crt.cpp ${CRT_ASM} ${UTILS_ASM})
endif()
Expand Down

0 comments on commit 90506ff

Please sign in to comment.