mirror of
https://github.com/RGBCube/serenity
synced 2025-07-28 16:37:47 +00:00
Toolchain+Ports: Enable threads for gcc
This enables POSIX threads for GCC and makes the -pthread argument available.
This commit is contained in:
parent
7400e3d8fc
commit
75d41657d5
5 changed files with 101 additions and 19 deletions
|
@ -2,10 +2,11 @@
|
|||
port=gcc
|
||||
version=10.3.0
|
||||
useconfigure=true
|
||||
configopts="--target=${SERENITY_ARCH}-pc-serenity --with-sysroot=/ --with-build-sysroot=${SERENITY_INSTALL_ROOT} --with-newlib --enable-languages=c,c++ --disable-lto --disable-nls --enable-shared --enable-default-pie --enable-host-shared"
|
||||
configopts="--target=${SERENITY_ARCH}-pc-serenity --with-sysroot=/ --with-build-sysroot=${SERENITY_INSTALL_ROOT} --with-newlib --enable-languages=c,c++ --disable-lto --disable-nls --enable-shared --enable-default-pie --enable-host-shared --enable-threads=posix"
|
||||
files="https://ftpmirror.gnu.org/gnu/gcc/gcc-${version}/gcc-${version}.tar.xz gcc-${version}.tar.xz
|
||||
https://ftpmirror.gnu.org/gnu/gcc/gcc-${version}/gcc-${version}.tar.xz.sig gcc-${version}.tar.xz.sig
|
||||
https://ftpmirror.gnu.org/gnu/gnu-keyring.gpg gnu-keyring.gpg"
|
||||
configopts="--target=${SERENITY_ARCH}-pc-serenity --with-sysroot=/ --with-build-sysroot=${SERENITY_BUILD_DIR}/Root --with-newlib --enable-languages=c,c++ --disable-lto --disable-nls --enable-shared --enable-default-pie --enable-host-shared --enable-threads=posix"
|
||||
makeopts="all-gcc all-target-libgcc all-target-libstdc++-v3 -j $(nproc)"
|
||||
installopts="DESTDIR=${SERENITY_INSTALL_ROOT} install-gcc install-target-libgcc install-target-libstdc++-v3"
|
||||
depends="binutils"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue