From 682ab52d776d74fb5ede949505f72b4c15ae8191 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Fri, 10 Apr 2015 18:20:47 -0700 Subject: gdb: Refresh patches against git Drop dead patches sim-install.patch, uclibc.patch Change-Id: I5bd160d0959154896096ebc93a8a450d04979c73 Signed-off-by: Khem Raj Signed-off-by: Richard Purdie --- .../gdb/gdb/0002-Change-order-of-CFLAGS.patch | 34 ++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 meta/recipes-devtools/gdb/gdb/0002-Change-order-of-CFLAGS.patch (limited to 'meta/recipes-devtools/gdb/gdb/0002-Change-order-of-CFLAGS.patch') diff --git a/meta/recipes-devtools/gdb/gdb/0002-Change-order-of-CFLAGS.patch b/meta/recipes-devtools/gdb/gdb/0002-Change-order-of-CFLAGS.patch new file mode 100644 index 0000000000..26a34d3444 --- /dev/null +++ b/meta/recipes-devtools/gdb/gdb/0002-Change-order-of-CFLAGS.patch @@ -0,0 +1,34 @@ +From 0dcb0a8b139b44ae84e8fd8ff8130cbbb52e444d Mon Sep 17 00:00:00 2001 +From: Khem Raj +Date: Mon, 2 Mar 2015 02:29:23 +0000 +Subject: [PATCH 2/3] Change order of CFLAGS + +Lets us override Werror if need be + +Upstream-Status: Inappropriate + +Signed-off-by: Khem Raj +--- + gdb/gdbserver/Makefile.in | 4 ++-- + 1 file changed, 2 insertions(+), 2 deletions(-) + +diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in +index 1ed2ec8..0cef95b 100644 +--- a/gdb/gdbserver/Makefile.in ++++ b/gdb/gdbserver/Makefile.in +@@ -131,10 +131,10 @@ CFLAGS = @CFLAGS@ + CPPFLAGS = @CPPFLAGS@ + + # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. +-INTERNAL_CFLAGS_BASE = ${CFLAGS} ${GLOBAL_CFLAGS} \ ++INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \ + ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${CPPFLAGS} + INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS) +-INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER ++INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS} -DGDBSERVER + + # LDFLAGS is specifically reserved for setting from the command line + # when running make. +-- +2.1.4 + -- cgit 1.2.3-korg