mirror of
https://github.com/HDFGroup/hdf5.git
synced 2025-02-17 16:10:24 +08:00
Bug Description: Solaris needs the ``-instances=global'' flag to make templates open to everyone. Solution: Added Platforms tested: Sun (Arabica)
30 lines
688 B
Bash
30 lines
688 B
Bash
# -*- shell-script -*-
|
|
#
|
|
# This file is part of the HDF5 build script. It is processed shortly
|
|
# after configure starts and defines, among other things, flags for
|
|
# the various compile modes.
|
|
#
|
|
# See BlankForm in this directory for details
|
|
|
|
# The default compiler is `sunpro cc'
|
|
if test -z "$CXX"; then
|
|
CXX=CC
|
|
CXX_BASENAME=CC
|
|
fi
|
|
|
|
# Try gcc compiler flags
|
|
#. $srcdir/config/gnu-flags
|
|
|
|
# Try solaris native compiler flags
|
|
if test -z "$cxx_flags_set"; then
|
|
CXXFLAGS="-instances=global"
|
|
LIBS="$LIBS -lsocket"
|
|
DEBUG_CXXFLAGS=-g
|
|
DEBUG_CPPFLAGS=
|
|
PROD_CXXFLAGS="-O -s"
|
|
PROD_CPPFLAGS=
|
|
PROFILE_CXXFLAGS=-xpg
|
|
PROFILE_CPPFLAGS=
|
|
cxx_flags_set=yes
|
|
fi
|