sysota: fix static linking with clang
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>
parent
053b1d44
No related branches found
No related tags found
This commit is part of merge request !164. Comments created here will be created in the context of that merge request.
Please register or sign in to comment