stdcxx-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From se...@apache.org
Subject svn commit: r514256 - /incubator/stdcxx/trunk/etc/config/gcc.config
Date Sat, 03 Mar 2007 22:32:12 GMT
Author: sebor
Date: Sat Mar  3 14:32:12 2007
New Revision: 514256

URL: http://svn.apache.org/viewvc?view=rev&rev=514256
Log:
2007-03-03  Mark Brown  <mbrown@inbox.com>

	STDCXX-346
	* gcc.config (PICFLAGS): Avoided using -fPIC for Cygwin in addition
	to AIX since gcc generated code is always position independent there.

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=514256&r1=514255&r2=514256
==============================================================================
--- incubator/stdcxx/trunk/etc/config/gcc.config (original)
+++ incubator/stdcxx/trunk/etc/config/gcc.config Sat Mar  3 14:32:12 2007
@@ -1,3 +1,4 @@
+# -*- Makefile -*-
 #
 # $Id$
 #
@@ -48,9 +49,10 @@
 
 DEPENDFLAGS     = -M
 
-# IBM AIX code is always position independent
-ifneq ($(OSNAME),AIX)
-PICFLAGS        = -fPIC
+# avoid adding -FPIC on IBM AIX and Cygwin where
+# gcc generated code is always position independent
+ifeq (,$findstring |$(OSNAME)|,|AIX|CYGWIN|)
+    PICFLAGS = -fPIC
 endif
 
 ifeq ($(OSNAME),SunOS)



Mime
View raw message