We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3b941a3 commit a859eb9Copy full SHA for a859eb9
contrib/platform/mellanox/optimized
@@ -40,10 +40,10 @@ if [ "$mellanox_debug" == "yes" ]; then
40
enable_debug=yes
41
enable_memchecker=yes
42
with_valgrind=yes
43
- CXXFLAGS="-O0 -g"
44
- CCASFLAGS="-O0 -g"
45
- FCFLAGS="-O0 -g"
46
- CFLAGS="-O0 -g"
+ CXXFLAGS="-O0 -g $CXXFLAGS"
+ CCASFLAGS="-O0 -g $CCASFLAGS"
+ FCFLAGS="-O0 -g $FCFLAGS"
+ CFLAGS="-O0 -g $CFLAGS"
47
else
48
enable_debug=no
49
enable_mem_debug=no
@@ -53,8 +53,8 @@ else
53
enable_heterogeneous=no
54
enable_ft_thread=no
55
with_mpi_param_check=yes
56
- CXXFLAGS="-O3 -g"
57
- CCASFLAGS="-O3 -g"
58
- FCFLAGS="-O3 -g"
59
- CFLAGS="-O3 -g"
+ CXXFLAGS="-O3 -g $CXXFLAGS"
+ CCASFLAGS="-O3 -g $CCASFLAGS"
+ FCFLAGS="-O3 -g $FCFLAGS"
+ CFLAGS="-O3 -g $CFLAGS"
60
fi
0 commit comments