stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r536349 - /incubator/stdcxx/trunk/etc/config/gcc.config
Date Tue, 08 May 2007 22:04:11 GMT
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  <sebor@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)



Mime
View raw message