sysota: force external linking with clang
Compare changes
- Pavel Zhukov authored
When sysota is built with toolchain-clang broken dynamicaly linked binary file is produced even if GO_DYNLINK is disabled. This can be fixed with specifying external linker for clang toolchain (by default Go swutched to internal linker if -pie has been specified since version 1.15). Limiting this change to clang only to be safe. Fixes: Subprocess output:x86_64-oniro-linux-llvm-strip: error: SHT_STRTAB string table section [index 7] is non-null terminated Fixes: #624 Signed-off-by:
Pavel Zhukov <pavel.zhukov@huawei.com>