mirror of
https://github.com/cp2k/cp2k.git
synced 2026-07-29 06:35:28 -04:00
Toolchain: Set pipefail in warn ARCH file
This commit is contained in:
parent
e8615f936f
commit
a2dd2f0b08
1 changed files with 5 additions and 0 deletions
|
|
@ -259,6 +259,11 @@ EOF
|
|||
if [ "$__WARNALL" = "on" ]; then
|
||||
cat << EOF >> $__filename
|
||||
#
|
||||
SHELL := bash
|
||||
FC := set -o pipefail && \\\${FC}
|
||||
CC := set -o pipefail && \\\${CC}
|
||||
CXX := set -o pipefail && \\\${CXX}
|
||||
LD := set -o pipefail && \\\${LD}
|
||||
FCLOGPIPE = 2>&1 | tee \\\$(notdir \\\$<).warn
|
||||
EOF
|
||||
fi
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue