qtbase,qtdeclarative: Add -pthread to linker flags

Helps to link in atomic functions on riscv64

Fixes
qtestcase.h:359: more undefined references to `__atomic_fetch_xor_1' follow
collect2: error: ld returned 1 exit status

Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Khem Raj
2019-03-12 08:48:14 -07:00
parent 643ab0b4c4
commit b9be00d487
2 changed files with 6 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
LDFLAGS_append_riscv64 = " -pthread"

View File

@@ -0,0 +1,3 @@
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"
LDFLAGS_append_riscv64 = " -pthread"