Skip to content

Commit

Permalink
Remove usage of --whole-archive and --no-whole-archive flags
Browse files Browse the repository at this point in the history
Summary:
D60689908 breaks OSS build for sai_mono_link_test-sai_impl. What's the context
for the usage of this flag?

Differential Revision: D61582640

fbshipit-source-id: 5ae9f13c746112e8b9795a2a899fd60b3f958775
  • Loading branch information
paulcruz74 authored and facebook-github-bot committed Aug 21, 2024
1 parent ddcaa0c commit 009fd92
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions cmake/AgentTest.cmake
Original file line number Diff line number Diff line change
Expand Up @@ -190,11 +190,9 @@ add_library(mono_agent_ensemble
)

target_link_libraries(mono_agent_ensemble
-Wl,--whole-archive
agent_ensemble
monolithic_agent_initializer
agent_hw_test_thrift_handler
-Wl,--no-whole-archive
${GTEST}
)

Expand Down

0 comments on commit 009fd92

Please sign in to comment.