diff options
author | Dana Robinson <derobins@hdfgroup.org> | 2016-02-17 15:08:33 (GMT) |
---|---|---|
committer | Dana Robinson <derobins@hdfgroup.org> | 2016-02-17 15:08:33 (GMT) |
commit | 52705fa6f0e093bcde34f79ebc690b87504bf712 (patch) | |
tree | 8e83aa91429aecc0fec6d1244d0bbe949ebb834a /config | |
parent | d334af98c15c03f5c7e574023e4d193f3e8b5aab (diff) | |
download | hdf5-52705fa6f0e093bcde34f79ebc690b87504bf712.zip hdf5-52705fa6f0e093bcde34f79ebc690b87504bf712.tar.gz hdf5-52705fa6f0e093bcde34f79ebc690b87504bf712.tar.bz2 |
[svn-r29139] Updated PGI compiler files to set NO_SYMBOLS_CFLAGS/FCFLAGS and
moved the -s (strip symbols) option from the production flags to the
no symbols flags.
Tested on: platypus w/ PGI 15.7 (C, C++, Fortran)
Diffstat (limited to 'config')
-rw-r--r-- | config/pgi-fflags | 3 | ||||
-rw-r--r-- | config/pgi-flags | 12 |
2 files changed, 6 insertions, 9 deletions
diff --git a/config/pgi-fflags b/config/pgi-fflags index fbcba52..08dfe6e 100644 --- a/config/pgi-fflags +++ b/config/pgi-fflags @@ -84,13 +84,14 @@ if test "X-pgf90" = "X-$f9x_vendor"; then #else # PROD_FCFLAGS="-O2 -s" #fi - PROD_FCFLAGS="-fast -s -Mnoframe" + PROD_FCFLAGS="-fast -Mnoframe" # Debug DEBUG_FCFLAGS="-Mbounds -Mchkptr -Mdclchk" # Symbols SYMBOLS_FCFLAGS="-g" + NO_SYMBOLS_FCFLAGS="-s" # Profiling PROFILE_FCFLAGS="-Mprof=func,line" diff --git a/config/pgi-flags b/config/pgi-flags index a6dcba3..f6878e6 100644 --- a/config/pgi-flags +++ b/config/pgi-flags @@ -73,31 +73,28 @@ if test "X-pgcc" = "X-$cc_vendor"; then # Production case "$cc_vendor-$cc_version" in pgcc-10.6*) - PROD_CFLAGS="-s" + PROD_CFLAGS= ;; pgcc-9.*) - PROD_CFLAGS="-s" + PROD_CFLAGS= ;; *) - PROD_CFLAGS="-fast -s" + PROD_CFLAGS="-fast" ;; esac - PROD_CPPFLAGS= # Debug # NDEBUG is handled explicitly by the configure script DEBUG_CFLAGS="-Mbounds" - DEBUG_CPPFLAGS= # Symbols SYMBOLS_CFLAGS="-g" - SYMBOLS_CPPFLAGS= + NO_SYMBOLS_CFLAGS="-s" # Profiling PROFILE_CFLAGS="-Mprof=func,line" # Use this for profiling with gprof #PROFILE_CFLAGS="-pg" - PROFILE_CPPFLAGS= # Optimization case "$cc_vendor-$cc_version" in @@ -118,7 +115,6 @@ if test "X-pgcc" = "X-$cc_vendor"; then # Flags are set cc_flags_set=yes - fi # Clear cc info if no flags set |