mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-19 11:24:18 +08:00
Build gcc with lpthread
This commit is contained in:
parent
23d4711f9a
commit
05e8ccc040
@ -21,10 +21,12 @@ function recipe_build {
|
||||
cp config.sub mpfr/config.sub
|
||||
cp -f config.sub mpc/config.sub
|
||||
|
||||
sysroot="$(realpath "${PWD}/../sysroot")"
|
||||
sysroot="$(realpath ../sysroot)"
|
||||
mkdir -p "$sysroot/usr"
|
||||
ln -sf "$sysroot/include" "$sysroot/usr/include"
|
||||
ln -sf "$sysroot/lib" "$sysroot/usr/lib"
|
||||
|
||||
export LIBS='-lpthread'
|
||||
./configure \
|
||||
--host=${HOST} \
|
||||
--target=${HOST} \
|
||||
|
||||
Loading…
Reference in New Issue
Block a user