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

Posix threading in gcc

parent 71620e8b
No related branches found
No related tags found
No related merge requests found
...@@ -25,7 +25,18 @@ function recipe_build { ...@@ -25,7 +25,18 @@ function recipe_build {
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"
./configure --host=${HOST} --target=${HOST} --prefix=/ --with-sysroot=/ --with-build-sysroot="$sysroot" --enable-static --disable-shared --disable-dlopen --disable-nls --enable-languages=c,c++ ./configure \
--host=${HOST} \
--target=${HOST} \
--prefix=/ \
--with-sysroot=/ \
--with-build-sysroot="$sysroot" \
--enable-static \
--disable-shared \
--disable-dlopen \
--disable-nls \
--enable-languages=c,c++ \
--enable-threads=posix
make -j "$(nproc)" all-gcc all-target-libgcc all-target-libstdc++-v3 make -j "$(nproc)" all-gcc all-target-libgcc all-target-libstdc++-v3
skip=1 skip=1
} }
......
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