+4
−0
Loading
The unit test mock library contains wrappers that aren't directly referenced but still need to be kept to allow the final link to work when they are used via --wrap. Add the spdk_mock library to the whole-archive list to prevent it from getting removed. Fixes build with LTO enabled. Change-Id: I2c70be7cb517a373178d34026f9980396727f8df Signed-off-by:Daniel Verkamp <daniel.verkamp@intel.com> Reviewed-on: https://review.gerrithub.io/401074 Tested-by:
SPDK Automated Test System <sys_sgsw@intel.com> Reviewed-by:
Jim Harris <james.r.harris@intel.com> Reviewed-by:
Changpeng Liu <changpeng.liu@intel.com> Reviewed-by:
Dariusz Stojaczyk <dariuszx.stojaczyk@intel.com>