diff options
author | Baruch Siach <baruch@tkos.co.il> | 2014-07-03 19:32:58 +0300 |
---|---|---|
committer | Peter Korsgaard <peter@korsgaard.com> | 2014-07-04 23:21:49 +0200 |
commit | 8420d4c169c78bc54d6bc6ef7a7e7c2be50052df (patch) | |
tree | c4e53a36d143fa170cac59fed35b7a222fde7ae8 | |
parent | e9568520814d666b41e19e43a02d13235bd15f93 (diff) | |
download | buildroot-8420d4c169c78bc54d6bc6ef7a7e7c2be50052df.tar.gz buildroot-8420d4c169c78bc54d6bc6ef7a7e7c2be50052df.zip |
toolchain/helpers.mk: don't discard check_arm_abi stderr
Since we only need to know whether the compiler runs successfully, and
stderr is empty for the success case, there is no need to redirect stderr to
/dev/null. Moreover, stderr output of the failing case reveals valuable
information on the real failure reason.
Cc: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Acked-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
-rw-r--r-- | toolchain/helpers.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/toolchain/helpers.mk b/toolchain/helpers.mk index 81e02b7132..c8c645a311 100644 --- a/toolchain/helpers.mk +++ b/toolchain/helpers.mk @@ -297,7 +297,7 @@ check_arm_abi = \ echo "External toolchain uses the unsuported OABI" ; \ exit 1 ; \ fi ; \ - if ! echo 'int main(void) {}' | $${__CROSS_CC} -x c -o /dev/null - 2>/dev/null; then \ + if ! echo 'int main(void) {}' | $${__CROSS_CC} -x c -o /dev/null - ; then \ abistr_$(BR2_ARM_EABI)='EABI'; \ abistr_$(BR2_ARM_EABIHF)='EABIhf'; \ echo "Incorrect ABI setting: $${abistr_y} selected, but toolchain is incompatible"; \ |