diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-11 12:29:23 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2014-01-11 12:29:23 +0100 |
commit | 407f9b8fde3ad9cc55f39f7a548cde6056dab494 (patch) | |
tree | 0375ea8ddab3502bf6883066f43fc7e328d5c704 /package/gdb | |
parent | 2ecefcf609e484d04d1546581191831e07ad71ec (diff) | |
parent | abb858ae43374dc13a5fcef19b9e0ba9442013bb (diff) |
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/gdb')
-rw-r--r-- | package/gdb/Makefile | 4 | ||||
-rw-r--r-- | package/gdb/patches/patch-gdb_gdbserver_configure | 20 |
2 files changed, 24 insertions, 0 deletions
diff --git a/package/gdb/Makefile b/package/gdb/Makefile index 6e5acdc32..61d564be7 100644 --- a/package/gdb/Makefile +++ b/package/gdb/Makefile @@ -35,10 +35,14 @@ XAKE_FLAGS+= LDFLAGS='${TARGET_LDFLAGS}' # disable honour cflags stuff XAKE_FLAGS+= GCC_HONOUR_COPTS:=s +post-extract: + -mv $(STAGING_DIR)/usr/lib/libiberty.a $(STAGING_DIR)/usr/lib/libiberty.a.bak + gdb-install: ${INSTALL_DIR} ${IDIR_GDB}/usr/bin ${INSTALL_BIN} ${WRKINST}/usr/bin/gdb ${IDIR_GDB}/usr/bin/ # shipped libbfd conflicts with system wide one rm -f ${WRKINST}/usr/lib/libbfd* + -mv $(STAGING_DIR)/usr/lib/libiberty.a.bak $(STAGING_DIR)/usr/lib/libiberty.a include ${TOPDIR}/mk/pkg-bottom.mk diff --git a/package/gdb/patches/patch-gdb_gdbserver_configure b/package/gdb/patches/patch-gdb_gdbserver_configure new file mode 100644 index 000000000..fb32187b2 --- /dev/null +++ b/package/gdb/patches/patch-gdb_gdbserver_configure @@ -0,0 +1,20 @@ +--- gdb-7.6.orig/gdb/gdbserver/configure 2013-03-11 09:35:09.000000000 +0100 ++++ gdb-7.6/gdb/gdbserver/configure 2013-12-23 19:39:06.000000000 +0100 +@@ -4927,9 +4927,6 @@ if test "${GCC}" = yes -a -z "${ERROR_ON + fi + + WERROR_CFLAGS="" +-if test "${ERROR_ON_WARNING}" = yes ; then +- WERROR_CFLAGS="-Werror" +-fi + + build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \ + -Wformat-nonliteral -Wno-char-subscripts -Wempty-body" +@@ -4943,7 +4940,6 @@ $as_echo_n "checking compiler warning fl + # compiled with it enabled. + for w in ${build_warnings}; do + case $w in +- -Werr*) WERROR_CFLAGS=-Werror ;; + *) # Check that GCC accepts it + saved_CFLAGS="$CFLAGS" + CFLAGS="$CFLAGS $w" |