summaryrefslogtreecommitdiffstats
path: root/config/solaris2.x
diff options
context:
space:
mode:
authorJames Laird <jlaird@hdfgroup.org>2006-04-25 21:19:14 (GMT)
committerJames Laird <jlaird@hdfgroup.org>2006-04-25 21:19:14 (GMT)
commit5740dd95a43853e7c27bb4d514a49ce5668a0b72 (patch)
treea67fed8855fa01eed3adb25890e9a9a306d46eda /config/solaris2.x
parent44670391d7e81d5d66a6acfda513a17c6f2d6c49 (diff)
downloadhdf5-5740dd95a43853e7c27bb4d514a49ce5668a0b72.zip
hdf5-5740dd95a43853e7c27bb4d514a49ce5668a0b72.tar.gz
hdf5-5740dd95a43853e7c27bb4d514a49ce5668a0b72.tar.bz2
[svn-r12301] Purpose:
H5_CFLAGS change Description: Converted a few platforms to use H5_CFLAGS to "test the waters" Solution: Modified a few config/* files to use H5_CFLAGS for non-essential flags. Platforms tested: mir, heping
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"