Build fix on nnfw_support_nnapi by adding -fPIC (#714)
author이춘석/동작제어Lab(SR)/Senior Engineer/삼성전자 <chunseok.lee@samsung.com>
Tue, 17 Apr 2018 00:14:52 +0000 (09:14 +0900)
committer김정현/동작제어Lab(SR)/Senior Engineer/삼성전자 <jh0822.kim@samsung.com>
Tue, 17 Apr 2018 00:14:52 +0000 (09:14 +0900)
commiteab6db12edd407eaf0cb8738e9644a3d9a078a9f
tree79757512e8ce3bb0f66e62307f9bc1d5d0abd1c9
parentfce43513578416426542e768fc1db03d85281572
Build fix on nnfw_support_nnapi by adding -fPIC (#714)

This is required to enable test coverage build.
During building with `-fprofile-arcs -ftest-coverage`, build fails as
follows:
libnnfw_support_nnapi.a(Utils.o): relocation R_ARM_THM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC

Signed-off-by: Chunseok Lee <chunseok.lee@samsung.com>
src/support/nnapi/CMakeLists.txt