summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorM. Scot Breitenfeld <brtnfld@hdfgroup.org>2017-08-01 20:44:55 (GMT)
committerM. Scot Breitenfeld <brtnfld@hdfgroup.org>2017-08-01 20:44:55 (GMT)
commit00d97d556b3e57129d8c7bbecf8b15497b3f056b (patch)
tree610db1b3e452f12950fd3671a2e83c6648829ab0 /config
parent2d932366b27af21b9197c882b4bf09f7c7bc973e (diff)
downloadhdf5-00d97d556b3e57129d8c7bbecf8b15497b3f056b.zip
hdf5-00d97d556b3e57129d8c7bbecf8b15497b3f056b.tar.gz
hdf5-00d97d556b3e57129d8c7bbecf8b15497b3f056b.tar.bz2
added test for NAG compiler and use the FC_BASENAME for NAG detection, (HDFFV-10037)
Diffstat (limited to 'config')
-rw-r--r--config/linux-gnulibc112
1 files changed, 5 insertions, 7 deletions
diff --git a/config/linux-gnulibc1 b/config/linux-gnulibc1
index 7cd1a2a..39225e7 100644
--- a/config/linux-gnulibc1
+++ b/config/linux-gnulibc1
@@ -153,8 +153,6 @@ case $FC_BASENAME in
# NAG compiler
#
nagfor)
- # Set required flag for compiling C stubs
- H5_CFLAGS="$H5_CFLAGS"
F9XSUFFIXFLAG=""
# We force compiler to use upper case for external names
@@ -166,19 +164,19 @@ case $FC_BASENAME in
PROD_FCFLAGS=
# Debug
- DEBUG_FCFLAGS=
+ DEBUG_FCFLAGS="-C"
# Symbols
SYMBOLS_FCFLAGS="-g"
- NO_SYMBOLS_FCFLAGS=""
+ NO_SYMBOLS_FCFLAGS="-s"
# Profiling
- PROFILE_FCFLAGS=""
+ PROFILE_FCFLAGS="-pg"
# Optimization
HIGH_OPT_FCFLAGS="-O"
- DEBUG_OPT_FCFLAGS=
- NO_OPT_FCFLAGS=
+ DEBUG_OPT_FCFLAGS="-O0"
+ NO_OPT_FCFLAGS="-O0"
f9x_flags_set=yes
;;