[PATCH 5/5] Disable wrapper's -Wunreachable-code
Arnaud Lacombe
lacombar@gmail.com
Wed Apr 7 16:37:00 GMT 2010
It makes the build fails because of unreachable code in stdlib's realpath()
implementation on ubuntu 9.04.
Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
---
scripts/build/internals.sh | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/scripts/build/internals.sh b/scripts/build/internals.sh
index 13239bf..4418b66 100644
--- a/scripts/build/internals.sh
+++ b/scripts/build/internals.sh
@@ -56,7 +56,7 @@ do_finish() {
_t="" # If debugging crosstool-NG, don't strip the wrapper
fi
CT_DoExecLog DEBUG "${CT_HOST}-gcc" \
- -Wall -Wextra -Wunreachable-code -Werror \
+ -Wall -Wextra -Werror \
-O3 -static ${_t} \
"${CT_LIB_DIR}/scripts/wrapper.c" \
-o ".${CT_TARGET}-wrapper"
--
1.7.0.rc2.16.g99c03.dirty
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list