diff options
author | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2005-04-23 13:30:51 (GMT) |
---|---|---|
committer | Binh-Minh Ribler <bmribler@hdfgroup.org> | 2005-04-23 13:30:51 (GMT) |
commit | ec33ba8c4447c1ce4d3b885e8446000556968646 (patch) | |
tree | 5d45e3a8d79ca425fac689c345dacf1c30e8d89d | |
parent | 21d06b51b272142be1daa81d4575a475bce47566 (diff) | |
download | hdf5-ec33ba8c4447c1ce4d3b885e8446000556968646.zip hdf5-ec33ba8c4447c1ce4d3b885e8446000556968646.tar.gz hdf5-ec33ba8c4447c1ce4d3b885e8446000556968646.tar.bz2 |
[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)
-rw-r--r-- | config/powerpc-ibm-aix5.x | 11 |
1 files 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" |