From 455721eeb68bcd36648a07557043a9bd5d0e49b2 Mon Sep 17 00:00:00 2001 From: Egor Tsyganchuk Date: Wed, 12 Aug 2026 11:11:59 +0300 Subject: [PATCH] Enable POSIX threads support in GCC configuration --- build-libraries.sh | 2 +- build-toolchain.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build-libraries.sh b/build-libraries.sh index 7b8923b..bbed385 100755 --- a/build-libraries.sh +++ b/build-libraries.sh @@ -128,7 +128,7 @@ cd "${LIB_BUILD_DIR}/openssl-${OPENSSL_VER}" no-shared no-dso no-async no-comp no-idea no-tests no-threads no-asm no-secure-memory no-seed no-weak-ssl-ciphers \ no-afalgeng no-aria no-async no-bf no-blake2 no-camellia no-capieng no-cast no-chacha no-cms no-cmp no-ct \ no-dgram no-dsa no-dtls no-ecdh no-ecdsa no-engine no-err no-filenames no-gost \ - no-ocsp no-pinshared no-poly1305 no-posix-io no-rc2 no-rc4 no-rdrand no-rfc3779 no-rmd160 no-scrypt no-sctp no-siphash \ + no-pinshared no-poly1305 no-posix-io no-rc2 no-rc4 no-rdrand no-rfc3779 no-rmd160 no-scrypt no-sctp no-siphash \ no-sm3 no-srp no-srtp no-ssl-trace no-ssl3 no-ssl3-method no-ts no-whirlpool enable-ktls \ -DNO_FORK -DHAVE_FORK=0 diff --git a/build-toolchain.sh b/build-toolchain.sh index 64487ea..c0e3110 100755 --- a/build-toolchain.sh +++ b/build-toolchain.sh @@ -198,7 +198,7 @@ mkdir -p "${BUILD_DIR}/gcc2" && cd "${BUILD_DIR}/gcc2" --with-float="${TARGET_FLOAT_ABI}" \ --with-mode="${SUBMODE}" \ --enable-languages=c,c++ \ - --disable-threads \ + --enable-threads=posix \ --enable-fdpic \ --disable-libstdcxx-pch \ --disable-libitm \