You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@stdcxx.apache.org by se...@apache.org on 2006/06/05 20:51:39 UTC

svn commit: r411888 - /incubator/stdcxx/trunk/etc/config/gcc.config

Author: sebor
Date: Mon Jun  5 11:51:39 2006
New Revision: 411888

URL: http://svn.apache.org/viewvc?rev=411888&view=rev
Log:
2006-06-05  Eric Lemings <er...@roguewave.com>

	STDCXX-191
	* gcc.config (MULTI_CPPFLAGS_POSIX, MULTI_LDFLAGS_POSIX): Removed
	-pthread for gcc on Darwin.

Modified:
    incubator/stdcxx/trunk/etc/config/gcc.config

Modified: incubator/stdcxx/trunk/etc/config/gcc.config
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/gcc.config?rev=411888&r1=411887&r2=411888&view=diff
==============================================================================
--- incubator/stdcxx/trunk/etc/config/gcc.config (original)
+++ incubator/stdcxx/trunk/etc/config/gcc.config Mon Jun  5 11:51:39 2006
@@ -157,8 +157,11 @@
       MULTI_CPPFLAGS_POSIX = -D_REENTRANT
       MULTI_LDFLAGS_POSIX   = -lpthread
     else
-      MULTI_CPPFLAGS_POSIX = -pthread
-      MULTI_LDFLAGS_POSIX  = -pthread
+      # option doesn't exist in Darwin gcc
+      ifneq ($(OSNAME),Darwin)
+        MULTI_CPPFLAGS_POSIX = -pthread
+        MULTI_LDFLAGS_POSIX  = -pthread
+      endif
     endif
   endif
 else