From ec33ba8c4447c1ce4d3b885e8446000556968646 Mon Sep 17 00:00:00 2001 From: Binh-Minh Ribler Date: Sat, 23 Apr 2005 08:30:51 -0500 Subject: [svn-r10652] Purpose: Update config for AIX Description: Many warnings about duplicate symbols for various members in the std. Solution: Temporarily added -qweaksymbol to suppress linker messages warning of duplicate symbols since these warnings are harmless. Note from pSeries and AIX Information Center: When compiling C++ programs containing extern inline functions, you can use the -qweaksymbol compiler option to suppress linker messages warning of duplicate symbols. Hoping that a better solution is suggested or the problem will be handled by the compiler in the future. Platforms tested: AIX 5.1 (copper) --- config/powerpc-ibm-aix5.x | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/config/powerpc-ibm-aix5.x b/config/powerpc-ibm-aix5.x index 924a4ea..a5e7c91 100644 --- a/config/powerpc-ibm-aix5.x +++ b/config/powerpc-ibm-aix5.x @@ -145,14 +145,17 @@ if test "X-" = "X-$f9x_flags_set"; then f9x_flags_set=yes fi -# The default C++ compiler - -# Use AIX supplied C++ compiler by default. -CXX=${CXX=xlC} # IBM MPI-IO implementation has a bug, #it cannot generate correct MPI derived datatype. hdf5_mpi_complex_derived_datatype_works=${hdf5_mpi_complex_derived_datatype_works='no'} +# The default C++ compiler + +# Use AIX supplied C++ compiler by default. +CXX=${CXX=xlC} +# Added -qweaksymbol to suppress linker messages warning of duplicate +# symbols; these warnings are harmless. - BMR +CXXFLAGS="$CXXFLAGS -qweaksymbol" -- cgit v0.12