summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKoen Kooi <koen@openembedded.org>2008-06-22 09:27:05 +0000
committerKoen Kooi <koen@openembedded.org>2008-06-22 09:27:05 +0000
commit6348b3baf7a61fc07626a3ecb29b539d438cfb4f (patch)
tree66315db19bfe714ca77a7c684445efd39ec068b0
parent863b8df877ca7f3db7fef8685aaca71ac6dff46f (diff)
gdb-cross-sdk: don't use -Werror
-rw-r--r--packages/gdb/gdb-cross-sdk_6.8.bb12
1 files changed, 12 insertions, 0 deletions
diff --git a/packages/gdb/gdb-cross-sdk_6.8.bb b/packages/gdb/gdb-cross-sdk_6.8.bb
index 6bb9616ae4..be5c4807d8 100644
--- a/packages/gdb/gdb-cross-sdk_6.8.bb
+++ b/packages/gdb/gdb-cross-sdk_6.8.bb
@@ -6,6 +6,18 @@ inherit sdk
PR = "r1"
+do_configure_prepend() {
+ for i in $(find ${S} -name "warning*m4") ; do
+ sed -i -e s:-Werror::g $i
+ done
+ for i in $(find ${S} -name "configure.ac") ; do
+ sed -i -e s:-Werror::g $i
+ done
+ for i in $(find ${S} -name "configure") ; do
+ sed -i -e s:-Werror::g $i
+ done
+}
+
do_stage() {
:
}