Skip to content
Snippets Groups Projects
Verified Commit 05e8ccc0 authored by Jeremy Soller's avatar Jeremy Soller
Browse files

Build gcc with lpthread

parent 23d4711f
No related branches found
No related tags found
No related merge requests found
...@@ -21,10 +21,12 @@ function recipe_build { ...@@ -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} \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment