mirror of
https://gitlab.redox-os.org/redox-os/redox.git
synced 2026-06-21 12:24:17 +08:00
Posix threading in gcc
This commit is contained in:
parent
71620e8b24
commit
998cd2a7fe
@ -25,7 +25,18 @@ function recipe_build {
|
||||
mkdir -p "$sysroot/usr"
|
||||
ln -sf "$sysroot/include" "$sysroot/usr/include"
|
||||
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
|
||||
skip=1
|
||||
}
|
||||
|
||||
Loading…
Reference in New Issue
Block a user