mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-26 14:54:20 +08:00
Fix linkage of pthreads in gcc
This commit is contained in:
parent
db5d99ee40
commit
b86345a1d2
@ -26,7 +26,7 @@ function recipe_build {
|
||||
ln -sf "$sysroot/include" "$sysroot/usr/include"
|
||||
ln -sf "$sysroot/lib" "$sysroot/usr/lib"
|
||||
|
||||
export LIBS='-lpthread'
|
||||
export LIBS='-Wl,--whole-archive -lpthread -Wl,--no-whole-archive'
|
||||
./configure \
|
||||
--host=${HOST} \
|
||||
--target=${HOST} \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user