mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-07-06 11:38:41 +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 config.sub mpfr/config.sub
|
||||||
cp -f config.sub mpc/config.sub
|
cp -f config.sub mpc/config.sub
|
||||||
|
|
||||||
sysroot="$(realpath "${PWD}/../sysroot")"
|
sysroot="$(realpath ../sysroot)"
|
||||||
mkdir -p "$sysroot/usr"
|
mkdir -p "$sysroot/usr"
|
||||||
ln -sf "$sysroot/include" "$sysroot/usr/include"
|
ln -sf "$sysroot/include" "$sysroot/usr/include"
|
||||||
ln -sf "$sysroot/lib" "$sysroot/usr/lib"
|
ln -sf "$sysroot/lib" "$sysroot/usr/lib"
|
||||||
|
|
||||||
|
export LIBS='-lpthread'
|
||||||
./configure \
|
./configure \
|
||||||
--host=${HOST} \
|
--host=${HOST} \
|
||||||
--target=${HOST} \
|
--target=${HOST} \
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user