From: Waldemar Brodkorb Date: Mon, 5 Dec 2016 17:48:39 +0000 (+0000) Subject: * config.gcc (*-*-uclinux*): Enable posix threads. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=09955a32593b5ac9aedf40d1a0a9d715e840b5a3;p=gcc.git * config.gcc (*-*-uclinux*): Enable posix threads. From-SVN: r243268 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 02d560d1910..793f710e5aa 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2016-12-05 Waldemar Brodkorb + + * config.gcc (*-*-uclinux*): Enable posix threads. + 2016-12-05 Andrew Senkevich * config/i386/avx512bwintrin.h: Add new k-mask intrinsics. diff --git a/gcc/config.gcc b/gcc/config.gcc index e034bc30f3d..d11e5790bae 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -831,6 +831,9 @@ case ${target} in *-*-uclinux*) extra_options="$extra_options gnu-user.opt" use_gcc_stdint=wrap + case ${enable_threads} in + "" | yes | posix) thread_file='posix' ;; + esac tm_defines="$tm_defines DEFAULT_LIBC=LIBC_UCLIBC SINGLE_LIBC" ;; *-*-rdos*)