diff options
author | Uwe Hermann <uwe@hermann-uwe.de> | 2011-08-20 14:16:00 +0000 |
---|---|---|
committer | Uwe Hermann <uwe@hermann-uwe.de> | 2011-08-20 14:16:00 +0000 |
commit | 44ffd58aa375d0293dea7aefef8511c0b4c814d0 (patch) | |
tree | e50bb73a0025f56c3ea9b04a6d157f0161785d3a /82802ab.c | |
parent | 394ee7832569431352d5f6f70ab345a6b4dd9fa8 (diff) | |
download | flashrom-44ffd58aa375d0293dea7aefef8511c0b4c814d0.tar.gz flashrom-44ffd58aa375d0293dea7aefef8511c0b4c814d0.tar.bz2 flashrom-44ffd58aa375d0293dea7aefef8511c0b4c814d0.zip |
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 '82802ab.c')
0 files changed, 0 insertions, 0 deletions