Skip to content

Commit

Permalink
set linker
Browse files Browse the repository at this point in the history
  • Loading branch information
filippobrizzi committed Mar 25, 2024
1 parent d40880c commit 1d313dc
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
4 changes: 2 additions & 2 deletions modules/utils/src/version_impl.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,8 @@ static constexpr std::uint8_t VERSION_MAJOR = 0;
static constexpr std::uint8_t VERSION_MINOR = 0;
static constexpr std::uint16_t VERSION_PATCH = 1;

static constexpr std::string_view REPO_BRANCH = "HEAD";
static constexpr std::string_view REPO_BRANCH = "zenohc_fix_carg_version";
static constexpr std::string_view BUILD_PROFILE = "RelWithDebInfo";
static constexpr std::string_view REPO_HASH = "c4ba30a";
static constexpr std::string_view REPO_HASH = "d40880c";

} // namespace heph::utils
3 changes: 2 additions & 1 deletion toolchains/toolchain_clang.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -10,5 +10,6 @@ else()
set(CMAKE_CXX_COMPILER clang++)
endif()
set(CMAKE_CXX_FLAGS "-stdlib=libc++")
set(CMAKE_EXE_LINKER_FLAGS "-stdlib=libc++ -lc++abi")
set(CMAKE_EXE_LINKER_FLAGS "-stdlib=libc++ -lc++abi -fuse-ld=lld")
set(CMAKE_EXE_LINKER_FLAGS "-stdlib=libc++ -lc++abi -fuse-ld=lld")
set(CMAKE_CROSSCOMPILING FALSE)

0 comments on commit 1d313dc

Please sign in to comment.