diff mbox

Add -pthread option for RTEMS

Message ID 1359467039-1712-1-git-send-email-sebastian.huber@embedded-brains.de
State New
Headers show

Commit Message

Sebastian Huber Jan. 29, 2013, 1:43 p.m. UTC
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  <sebastian.huber@embedded-brains.de>

        * config/rtems.opt: Add -pthread option.
---
 gcc/config/rtems.opt |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

Comments

Sebastian Huber March 26, 2013, 10:50 a.m. UTC | #1
Ping.

On 01/29/2013 02:43 PM, Sebastian Huber wrote:
> 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  <sebastian.huber@embedded-brains.de>
>
>          * 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
>
>
diff mbox

Patch

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