This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH 5/5] Disable wrapper's -Wunreachable-code


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]