diff options
author | Bill Wendling <wendling@ncsa.uiuc.edu> | 2000-11-30 19:52:42 (GMT) |
---|---|---|
committer | Bill Wendling <wendling@ncsa.uiuc.edu> | 2000-11-30 19:52:42 (GMT) |
commit | b253cfbbecd24454236f9b88585bede2b76d887c (patch) | |
tree | 0ac8f1277b8cbced2fda0d3220b44c2a3aeb890c /c++/config/solaris2.x | |
parent | d2e7ce139919b63c06452e9d153756a5af6fd95f (diff) | |
download | hdf5-b253cfbbecd24454236f9b88585bede2b76d887c.zip hdf5-b253cfbbecd24454236f9b88585bede2b76d887c.tar.gz hdf5-b253cfbbecd24454236f9b88585bede2b76d887c.tar.bz2 |
[svn-r3037] Purpose:
Bug-ish fix
Description:
Spurious warnings would show up if libtool was trying to pass the
-LANG:std flag to the compile line.
Also, if the library is compiled with -all-static, then it would
complain about not finding dlopen and friends.
Solution:
Used the libtool -Wc,<flag> option to pass the -LANG:std flag to
the compile line.
Used ``-dlopen self'' when compiling.
Platforms tested:
Linux
Diffstat (limited to 'c++/config/solaris2.x')
-rw-r--r-- | c++/config/solaris2.x | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/c++/config/solaris2.x b/c++/config/solaris2.x index 53a4d6b..55aa291 100644 --- a/c++/config/solaris2.x +++ b/c++/config/solaris2.x @@ -17,7 +17,7 @@ fi # Try solaris native compiler flags if test -z "$cxx_flags_set"; then - CXXFLAGS="-instances=global -LANG:std" + CXXFLAGS="-instances=global -Wc,-LANG:std" LIBS="$LIBS -lsocket" DEBUG_CXXFLAGS=-g DEBUG_CPPFLAGS= |