Stefan Reinauer (stefan.reinauer@coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/336
-gerrit
commit 236cdde502d46c08e1867ef4a235f4f38ee9f747 Author: Stefan Reinauer reinauer@chromium.org Date: Tue Oct 25 12:28:40 2011 -0700
Add -Werror to xcompile's testcc
If -Werror is not specified, tests for certain compiler flags will emit a warning, which makes the build break since we compile with -Werror.
Change-Id: I7be56530ff9f94e5500bad226c83e47145a808d7 Signed-off-by: Stefan Reinauer reinauer@google.com --- util/xcompile/xcompile | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/util/xcompile/xcompile b/util/xcompile/xcompile index 9a0a295..4926394 100644 --- a/util/xcompile/xcompile +++ b/util/xcompile/xcompile @@ -21,7 +21,7 @@ testcc() { echo "_start(void) {}" > .$$$$.c - $1 -nostdlib $2 .$$$$.c -o .$$$$.tmp 2>/dev/null >/dev/null + $1 -nostdlib -Werror $2 .$$$$.c -o .$$$$.tmp 2>/dev/null >/dev/null ret=$? rm -f .$$$$.c .$$$$.tmp return $ret