Build gcc with lpthread

This commit is contained in:
Jeremy Soller 2018-12-22 08:29:21 -07:00
parent 23d4711f9a
commit 05e8ccc040
No known key found for this signature in database
GPG Key ID: E988B49EE78A7FB1

View File

@ -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} \