Skip to content

Commit

Permalink
static link libstdc++
Browse files Browse the repository at this point in the history
The libstdc++6 versions can cary much more dramatically than the libc6
versions on a given system, so statically link them.
  • Loading branch information
copperlight committed Dec 11, 2024
1 parent 77c2d1e commit ed82a51
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,7 @@ else()
Backward::Backward
)
endif()
target_link_options(spectatord_main PRIVATE "-static-libstdc++")

#-- metrics_gen executable
add_executable(metrics_gen
Expand Down

0 comments on commit ed82a51

Please sign in to comment.