build: run garbage collection while linking plugins 85/29785/2
authorDamjan Marion <damarion@cisco.com>
Thu, 5 Nov 2020 16:55:53 +0000 (17:55 +0100)
committerFlorin Coras <florin.coras@gmail.com>
Thu, 5 Nov 2020 20:49:03 +0000 (20:49 +0000)
commit066cd812374460e5ca8be9a88f494fe3f5bf911e
tree1a1f5fba83b01099bc9755de20b76360ecbe6c50
parenta94e26db701417ec6955997aea6b93e8bd87c032
build: run garbage collection while linking plugins

Ask linker to remove symbols which are not referenced or exported.

Type: improvement
Change-Id: Iec01fda7ec5b14bab8f36d25c2652bd6fe619961
Signed-off-by: Damjan Marion <damarion@cisco.com>
src/cmake/plugin.cmake