mirror of
https://github.com/HDFGroup/hdf5.git
synced 2024-11-27 02:10:55 +08:00
c834f719ef
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...
31 lines
713 B
Bash
31 lines
713 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"
|
|
CPPFLAGS="-LANG:std"
|
|
LIBS="$LIBS -lsocket"
|
|
DEBUG_CXXFLAGS=-g
|
|
DEBUG_CPPFLAGS=
|
|
PROD_CXXFLAGS="-O -s"
|
|
PROD_CPPFLAGS=
|
|
PROFILE_CXXFLAGS=-xpg
|
|
PROFILE_CPPFLAGS=
|
|
cxx_flags_set=yes
|
|
fi
|