Purpose: Maintenance
Description: I added dec-osf5.x configuration file. By default
DEC cxx compiler is used to build HDF5 C++ Library
Platforms tested: True64 (PSC)
Misc. update:
30 lines
483 B
Plaintext
Executable File
30 lines
483 B
Plaintext
Executable File
|
|
if test -z "$CXX"; then
|
|
CXX=cxx
|
|
CXX_BASENAME=cxx
|
|
fi
|
|
|
|
|
|
case $CXX_BASENAME in
|
|
g++)
|
|
CXXFLAGS="$CXXFLAGS -Wsign-compare" #Only works for some versions
|
|
DEBUG_CXXFLAGS="-g -fverbose-asm"
|
|
DEBUG_CPPFLAGS=
|
|
PROD_CXXFLAGS="-O3 -fomit-frame-pointer"
|
|
PROD_CPPFLAGS=
|
|
PROFILE_CXXFLAGS="-pg"
|
|
PROFILE_CPPFLAGS=
|
|
;;
|
|
|
|
*)
|
|
CXXFLAGS="$CXXFLAGS -tlocal"
|
|
DEBUG_CXXFLAGS="-g"
|
|
DEBUG_CPPFLAGS=
|
|
PROD_CXXFLAGS="-O"
|
|
PROD_CPPFLAGS=
|
|
PROFILE_CXXFLAGS="-pg"
|
|
PROFILE_CPPFLAGS=
|
|
;;
|
|
esac
|
|
|