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/06/08 02:04:58 UTC

svn commit: r545352 - /incubator/stdcxx/trunk/etc/config/vacpp.config

Author: sebor
Date: Thu Jun  7 17:04:58 2007
New Revision: 545352

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

	STDCXX-439
	* vacpp.config (LDFLAGS): Added -Wl,-bh:5 to silence ld warning
	0711-224 (Duplicate symbol) for shared library linking with IBM
	VisualAge C++ 6.0.

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

Modified: incubator/stdcxx/trunk/etc/config/vacpp.config
URL: http://svn.apache.org/viewvc/incubator/stdcxx/trunk/etc/config/vacpp.config?view=diff&rev=545352&r1=545351&r2=545352
==============================================================================
--- incubator/stdcxx/trunk/etc/config/vacpp.config (original)
+++ incubator/stdcxx/trunk/etc/config/vacpp.config Thu Jun  7 17:04:58 2007
@@ -108,6 +108,12 @@
       PRELINKFLAGS += -Wl,-bh:5
     endif
     LDFLAGS      += -Wl,-bh:5
+  else
+    ifeq ($(CXX_MAJOR),6)
+      # also silence ld warning 0711-224 (Duplicate symbol) for shared
+      # library linking with VisualAge C++ 6.0 (see STDCXX-439)
+      LDFLAGS += -Wl,-bh:5
+    endif
   endif
 
   # disable assembly files on AIX but leave them enabled (at the default