Skip to content

Commit

Permalink
[Huawei]secure compile option
Browse files Browse the repository at this point in the history
Offering:hpc
  • Loading branch information
JKLiang9714 committed Nov 30, 2021
1 parent 3b941a3 commit a859eb9
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions contrib/platform/mellanox/optimized
Original file line number Diff line number Diff line change
Expand Up @@ -40,10 +40,10 @@ if [ "$mellanox_debug" == "yes" ]; then
enable_debug=yes
enable_memchecker=yes
with_valgrind=yes
CXXFLAGS="-O0 -g"
CCASFLAGS="-O0 -g"
FCFLAGS="-O0 -g"
CFLAGS="-O0 -g"
CXXFLAGS="-O0 -g $CXXFLAGS"
CCASFLAGS="-O0 -g $CCASFLAGS"
FCFLAGS="-O0 -g $FCFLAGS"
CFLAGS="-O0 -g $CFLAGS"
else
enable_debug=no
enable_mem_debug=no
Expand All @@ -53,8 +53,8 @@ else
enable_heterogeneous=no
enable_ft_thread=no
with_mpi_param_check=yes
CXXFLAGS="-O3 -g"
CCASFLAGS="-O3 -g"
FCFLAGS="-O3 -g"
CFLAGS="-O3 -g"
CXXFLAGS="-O3 -g $CXXFLAGS"
CCASFLAGS="-O3 -g $CCASFLAGS"
FCFLAGS="-O3 -g $FCFLAGS"
CFLAGS="-O3 -g $CFLAGS"
fi

0 comments on commit a859eb9

Please sign in to comment.