mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-29 06:35:28 -04:00
Update gcc compile flags
This commit is contained in:
parent
80edca3c33
commit
e508effb9f
1 changed files with 2 additions and 2 deletions
|
|
@ -25,9 +25,9 @@ done
|
|||
|
||||
# setup compiler flags, leading to nice stack traces on crashes but still optimised
|
||||
if [ "${generic}" = "__TRUE__" ]; then
|
||||
CFLAGS="-O2 -fPIC -fno-omit-frame-pointer -g -mtune=generic ${TSANFLAGS}"
|
||||
CFLAGS="-O2 -fPIC -fno-omit-frame-pointer -fopenmp -g -mtune=generic ${TSANFLAGS}"
|
||||
else
|
||||
CFLAGS="-O2 -fPIC -fno-omit-frame-pointer -g -march=native -mtune=native ${TSANFLAGS}"
|
||||
CFLAGS="-O2 -fPIC -fno-omit-frame-pointer -fopenmp -g -march=native -mtune=native ${TSANFLAGS}"
|
||||
fi
|
||||
FFLAGS="${CFLAGS} -fbacktrace"
|
||||
CXXFLAGS="${CFLAGS}"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue