From patchwork Tue Jan 29 13:43:59 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Subject: Add -pthread option for RTEMS Date: Tue, 29 Jan 2013 03:43:59 -0000 From: Sebastian Huber X-Patchwork-Id: 216532 Message-Id: <1359467039-1712-1-git-send-email-sebastian.huber@embedded-brains.de> To: gcc-patches@gcc.gnu.org Cc: Sebastian Huber A lot of things use the -pthread GCC option if they want to use the Pthreads. Examples are various configure scripts and some GCC test cases. RTEMS supports Pthreads. It is convenient to simply add a -pthread option and ignore it for RTEMS. 2013-01-29 Sebastian Huber * config/rtems.opt: Add -pthread option. --- gcc/config/rtems.opt | 3 +++ 1 files changed, 3 insertions(+), 0 deletions(-) diff --git a/gcc/config/rtems.opt b/gcc/config/rtems.opt index d76b7e7..0b1a353 100644 --- a/gcc/config/rtems.opt +++ b/gcc/config/rtems.opt @@ -23,6 +23,9 @@ ; Please try to keep this file in ASCII collating order. +pthread +Ignore + qnolinkcmds Driver