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 2007/05/09 00:04:11 UTC

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

Author: sebor
Date: Tue May  8 15:04:10 2007
New Revision: 536349

URL: http://svn.apache.org/viewvc?view=rev&rev=536349
Log:
2007-05-08  Martin Sebor  <se...@roguewave.com>

	* gcc.config (PICFLAGS): Avoided clever tricks in conditional
	to avoid failing to match Cygwin.

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?view=diff&rev=536349&r1=536348&r2=536349
==============================================================================
--- incubator/stdcxx/trunk/etc/config/gcc.config (original)
+++ incubator/stdcxx/trunk/etc/config/gcc.config Tue May  8 15:04:10 2007
@@ -51,8 +51,10 @@
 
 # avoid adding -FPIC on IBM AIX and Cygwin where
 # gcc generated code is always position independent
-ifeq (,$(findstring |$(OSNAME)|,|AIX|CYGWIN|))
-    PICFLAGS = -fPIC
+ifeq (,$(findstring AIX,$(OSNAME)))
+    ifeq (,$(findstring CYGWIN,$(OSNAME)))
+        PICFLAGS = -fPIC
+    endif
 endif
 
 ifeq ($(OSNAME),SunOS)