From 4b9357a7ecacdef1b9913872dcb05e215670ea53 Mon Sep 17 00:00:00 2001 From: Oliver Reiche Date: Wed, 3 May 2023 18:17:27 +0200 Subject: rules-cc/foreign: Also redirect stderr to log file --- CC/foreign/make/EXPRESSIONS | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'CC/foreign/make') 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)" ] } } -- cgit v1.2.3