[PATCH] Add -pthread option for RTEMS

Sebastian Huber sebastian.huber@embedded-brains.de
Tue Jan 29 13:44:00 GMT 2013


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
 
-- 
1.7.7



More information about the Gcc-patches mailing list