OSDN Git Service

scripts: gcc-wrapper: Route the GCC errors to stderr
authorShadab Naseem <snaseem@codeaurora.org>
Wed, 20 Feb 2019 07:27:27 +0000 (12:57 +0530)
committerGerrit - the friendly Code Review server <code-review@localhost>
Fri, 29 Mar 2019 11:31:05 +0000 (04:31 -0700)
commit1dca5a048f4fb04ba1c87a8351f50573324b8915
tree706aa627a6bb61bb20d668c672a68c6772749665
parent2fe82d10f2fee3c05c31071a1e832d3753b332d5
scripts: gcc-wrapper: Route the GCC errors to stderr

The GCC wrapper writes any error message from GCC to stdout
along with the messages from the wrapper itself. This is okay
for most case, but when GCC is used with -print-xxx flags,
the stdout output is supposed to be taken as input to some
other build command, so putting error messages in there is
pretty bad. Fix this by writing error messages to stderr.

Change-Id: I4656033f11ba5212fdcc884cc588f8b9d2c23419
Signed-off-by: Shadab Naseem <snaseem@codeaurora.org>
scripts/gcc-wrapper.py