diff options
author | Elena Pourmal <epourmal@hdfgroup.org> | 2001-07-17 20:18:16 (GMT) |
---|---|---|
committer | Elena Pourmal <epourmal@hdfgroup.org> | 2001-07-17 20:18:16 (GMT) |
commit | 27ded6c5384deffb5eef3bc9479864d07cd5fcd5 (patch) | |
tree | 86bef298268bee524b7f9b97d587d02da0ca39e6 | |
parent | 53f425a0013652f9ef6fd5bf33cf81ee72fb780d (diff) | |
download | hdf5-27ded6c5384deffb5eef3bc9479864d07cd5fcd5.zip hdf5-27ded6c5384deffb5eef3bc9479864d07cd5fcd5.tar.gz hdf5-27ded6c5384deffb5eef3bc9479864d07cd5fcd5.tar.bz2 |
[svn-r4229]
Purpose:
Improvement
Description:
On DEC UNIX configure adds -g flag in production mode
Solution:
Used Albert's fix for SPs to eliminate the flag.
Platforms tested:
gondolin (both production and debug modes)
-rw-r--r-- | config/dec-flags | 3 | ||||
-rw-r--r-- | fortran/config/dec-flags | 33 |
2 files changed, 6 insertions, 30 deletions
diff --git a/config/dec-flags b/config/dec-flags index 7b2b182..7e3eaf8 100644 --- a/config/dec-flags +++ b/config/dec-flags @@ -35,6 +35,9 @@ EOF ;; esac +# CFLAGS must be set else configure set it to -g +CFLAGS="$CFLAGS" + # Compiler flags case "$cc_vendor-$cc_version" in DEC-V5.*) diff --git a/fortran/config/dec-flags b/fortran/config/dec-flags index c9a34b3..7e3eaf8 100644 --- a/fortran/config/dec-flags +++ b/fortran/config/dec-flags @@ -35,6 +35,9 @@ EOF ;; esac +# CFLAGS must be set else configure set it to -g +CFLAGS="$CFLAGS" + # Compiler flags case "$cc_vendor-$cc_version" in DEC-V5.*) @@ -60,33 +63,3 @@ if test X = "X$cc_flags_set"; then cc_vendor= cc_version= fi - -# The default Fortran 90 compiler - -# -# HDF5 integers -# -# R_LARGE is the number of digits for the bigest integer supported. -# R_INTEGER is the number of digits in INTEGER -# -# (for the Digital UNIX architechture) -# -R_LARGE=18 -R_INTEGER=9 -HSIZE_T='SELECTED_INT_KIND(R_LARGE)' -HSSIZE_T='SELECTED_INT_KIND(R_LARGE)' -HID_T='SELECTED_INT_KIND(R_INTEGER)' -SIZE_T='SELECTED_INT_KIND(R_LARGE)' -OBJECT_NAMELEN_DEFAULT_F=-1 - -if test "X-" = "X-$F9X"; then - F9X=f90 -fi - -if test "X-" = "X-$f9x_flags_set"; then - FFLAGS="-Olimit 2048 -std1" - DEBUG_FFLAGS="-Olimit 2048 -std1" - PROD_FFLAGS="-Olimit 2048 -std1" - PROFILE_FFLAGS="-Olimit 2048 -std1" - f9x_flags_set=yes -fi |