summaryrefslogtreecommitdiffstats
path: root/config/solaris2.x
diff options
context:
space:
mode:
Diffstat (limited to 'config/solaris2.x')
-rw-r--r--config/solaris2.x8
1 files changed, 4 insertions, 4 deletions
diff --git a/config/solaris2.x b/config/solaris2.x
index 1663efe..6e39bf6 100644
--- a/config/solaris2.x
+++ b/config/solaris2.x
@@ -30,7 +30,7 @@ fi
# Try solaris native compiler flags
if test "X-" = "X-$cc_flags_set"; then
- CFLAGS="$CFLAGS -erroff=%none -DBSD_COMP"
+ H5_CFLAGS="$H5_CFLAGS -erroff=%none -DBSD_COMP"
DEBUG_CFLAGS="-g -xildoff"
DEBUG_CPPFLAGS=
PROD_CFLAGS="-O -s"
@@ -95,14 +95,14 @@ cxx_vers_patch=`echo $cxx_version | cut -f3 -d.`
# Specify the "-features=tmplife" if the compiler can handle this...
if test -n "$cxx_version"; then
if test $cxx_vers_major -ge 5 -a $cxx_vers_minor -ge 3 -o $cxx_vers_major -gt 5; then
- CXXFLAGS="$CXXFLAGS -features=tmplife"
+ H5_CXXFLAGS="$H5_CXXFLAGS -features=tmplife"
fi
fi
# Try solaris native compiler flags
if test -z "$cxx_flags_set"; then
- CXXFLAGS="$CXXFLAGS -instances=static"
- CPPFLAGS="$CPPFLAGS -LANG:std"
+ H5_CXXFLAGS="$H5_CXXFLAGS -instances=static"
+ H5_CPPFLAGS="$H5_CPPFLAGS -LANG:std"
DEBUG_CXXFLAGS=-g
DEBUG_CPPFLAGS=
PROD_CXXFLAGS="-O -s"