summaryrefslogtreecommitdiffstats
path: root/print.c
diff options
context:
space:
mode:
authorUwe Hermann <uwe@hermann-uwe.de>2011-08-20 14:16:00 +0000
committerUwe Hermann <uwe@hermann-uwe.de>2011-08-20 14:16:00 +0000
commit44ffd58aa375d0293dea7aefef8511c0b4c814d0 (patch)
treee50bb73a0025f56c3ea9b04a6d157f0161785d3a /print.c
parent394ee7832569431352d5f6f70ab345a6b4dd9fa8 (diff)
downloadast2050-flashrom-44ffd58aa375d0293dea7aefef8511c0b4c814d0.zip
ast2050-flashrom-44ffd58aa375d0293dea7aefef8511c0b4c814d0.tar.gz
Makefile: Fix MinGW build, improve output with bogus CC
As per IRC discussion, the "ARCH :=" line should be moved after any lines which set CC, as it uses CC itself. This fixes the MinGW build. Also, add a "2>/dev/null" in the "ARCH :=" as per suggestion from Stefan Tauner to improve the output in the case CC is bogus: Before: $ make CC=foo /bin/sh: foo: not found Checking for a C compiler... not found. make: *** [compiler] Error 1 After: $ make CC=foo Checking for a C compiler... not found. make: *** [compiler] Error 1 Corresponding to flashrom svn r1418. Signed-off-by: Uwe Hermann <uwe@hermann-uwe.de> Acked-by: Stefan Tauner <stefan.tauner@alumni.tuwien.ac.at>
Diffstat (limited to 'print.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud