[fix] add cpp args in trinity_smi meson.build accepted/tizen_8.0_unified accepted/tizen_unified_riscv tizen_8.0 accepted/tizen/8.0/unified/20231014.063005 accepted/tizen/unified/20231014.063014 accepted/tizen/unified/20231214.164924 accepted/tizen/unified/riscv/20231215.050338 tizen_8.0_m2_release
authorYelin Jeong <yelini.jeong@samsung.com>
Fri, 13 Oct 2023 05:47:19 +0000 (14:47 +0900)
committer추지호/SoC Architecture팀(SR)/삼성전자 <jiho.chu@samsung.com>
Fri, 13 Oct 2023 06:23:06 +0000 (15:23 +0900)
This patch fixes build error in tizen_8.0.

Signed-off-by: Yelin Jeong <yelini.jeong@samsung.com>
utils/trinity_smi/meson.build

index 08883b4cd6c93449005ad351897f88cf702d2159..2423832b21488239b20bab846b6508d1e5f95026 100644 (file)
@@ -8,6 +8,7 @@ if ncurses_dep.found()
     link_with : ne_library_shared,
     install : true,
     install_rpath : ne_libdir,
-    install_dir : join_paths(ne_bindir, 'utils')
+    install_dir : join_paths(ne_bindir, 'utils'),
+    cpp_args : '-fPIC'
   )
 endif