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 e7bc222 commit 37f7e36
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion libraries/native/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -350,7 +350,8 @@ if (${PARENT_PROJECT_NAME} STREQUAL "cdt_tools")
${CMAKE_SOURCE_DIR}/../libraries/eosiolib/capi
${CMAKE_SOURCE_DIR}/../libraries/boost/include
${CMAKE_SOURCE_DIR}/../libraries/meta_refl/include)
target_link_options(${PROJECT_NAME} PUBLIC -z noexecstack) # suppress executable stack warning. this is due to absence of .note.GNU-stack
# suppress executable stack warning. this is due to absence of .note.GNU-stack
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 37f7e36

Please sign in to comment.