summaryrefslogtreecommitdiff
path: root/CC/foreign/make/EXPRESSIONS
diff options
context:
space:
mode:
authorOliver Reiche <oliver.reiche@huawei.com>2023-05-03 18:17:27 +0200
committerOliver Reiche <oliver.reiche@huawei.com>2023-05-30 15:33:18 +0200
commit4b9357a7ecacdef1b9913872dcb05e215670ea53 (patch)
tree4335e005ab94910dabdb0d843a9a09c40a9f0e35 /CC/foreign/make/EXPRESSIONS
parente881a7945c501c1b328cd8012f81687621a5954b (diff)
downloadrules-cc-4b9357a7ecacdef1b9913872dcb05e215670ea53.tar.gz
rules-cc/foreign: Also redirect stderr to log file
Diffstat (limited to 'CC/foreign/make/EXPRESSIONS')
-rw-r--r--CC/foreign/make/EXPRESSIONS4
1 files changed, 2 insertions, 2 deletions
diff --git a/CC/foreign/make/EXPRESSIONS b/CC/foreign/make/EXPRESSIONS
index e175528..fb85101 100644
--- a/CC/foreign/make/EXPRESSIONS
+++ b/CC/foreign/make/EXPRESSIONS
@@ -277,7 +277,7 @@
, { "type": "join_cmd"
, "$1": {"type": "var", "name": "configure_args"}
}
- , " >\"${ROOT}/configure.log\" || (cat \"${ROOT}/configure.log\" && exit 1)"
+ , " >\"${ROOT}/configure.log\" 2>&1 || (cat \"${ROOT}/configure.log\" && exit 1)"
]
}
, ")"
@@ -293,7 +293,7 @@
, { "type": "join_cmd"
, "$1": [{"type": "var", "name": "target"}]
}
- , " >>build.log || (cat build.log && exit 1)"
+ , " >>build.log 2>&1 || (cat build.log && exit 1)"
]
}
}