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/pgi-flags | |
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/pgi-flags')
-rw-r--r-- | config/pgi-flags | 12 |
1 files changed, 4 insertions, 8 deletions
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 |