summaryrefslogtreecommitdiffstats
path: root/c++/config
diff options
context:
space:
mode:
authorBill Wendling <wendling@ncsa.uiuc.edu>2000-12-01 15:44:18 (GMT)
committerBill Wendling <wendling@ncsa.uiuc.edu>2000-12-01 15:44:18 (GMT)
commitc834f719ef5dcb6cca3bef9fb3260c22ebc2867f (patch)
tree8926b72cc4c2a8b011d947989686ecbee0e395bf /c++/config
parent1d12edaf3eda15e461977235599b15266c19743a (diff)
downloadhdf5-c834f719ef5dcb6cca3bef9fb3260c22ebc2867f.zip
hdf5-c834f719ef5dcb6cca3bef9fb3260c22ebc2867f.tar.gz
hdf5-c834f719ef5dcb6cca3bef9fb3260c22ebc2867f.tar.bz2
[svn-r3046] Purpose:
Reversal of Patch Description: I thought that the solaris boxen could handle the -Wc,<flag> flag (or, rather, that libtool would do the correct thing with their compilers). However, this isn't the case, apparently. Solution: Removed the ``-Wc,-LANG:std'' flag and put it in the CPPFLAGS macro instead. This should cause it to be passed to the compiler only...one hopes...
Diffstat (limited to 'c++/config')
-rw-r--r--c++/config/solaris2.x3
1 files changed, 2 insertions, 1 deletions
diff --git a/c++/config/solaris2.x b/c++/config/solaris2.x
index 55aa291..d286479 100644
--- a/c++/config/solaris2.x
+++ b/c++/config/solaris2.x
@@ -17,7 +17,8 @@ fi
# Try solaris native compiler flags
if test -z "$cxx_flags_set"; then
- CXXFLAGS="-instances=global -Wc,-LANG:std"
+ CXXFLAGS="-instances=global"
+ CPPFLAGS="-LANG:std"
LIBS="$LIBS -lsocket"
DEBUG_CXXFLAGS=-g
DEBUG_CPPFLAGS=