From c834f719ef5dcb6cca3bef9fb3260c22ebc2867f Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Fri, 1 Dec 2000 10:44:18 -0500 Subject: [PATCH] [svn-r3046] Purpose: Reversal of Patch Description: I thought that the solaris boxen could handle the -Wc, 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... --- c++/config/solaris2.x | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/c++/config/solaris2.x b/c++/config/solaris2.x index 55aa291e29..d286479f30 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=