diff options
author | Khem Raj <raj.khem@gmail.com> | 2016-04-30 18:41:57 -0700 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2016-05-14 07:26:41 +0100 |
commit | 0cea061bf62f3092d857bc503b96e77f55134a39 (patch) | |
tree | 2a9dcfcd5004e6ec5da17da8d010413a03106d7e /meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch | |
parent | a0a10b4928c818c34fcd99e6a2bbb5db8cb60950 (diff) | |
download | openembedded-core-0cea061bf62f3092d857bc503b96e77f55134a39.tar.gz |
gdb: Upgrade to 7.11
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch b/meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch new file mode 100644 index 0000000000..a230047af6 --- /dev/null +++ b/meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch @@ -0,0 +1,34 @@ +From ba0bbf887d4911ccee9df57cb13eafb1de34bb31 Mon Sep 17 00:00:00 2001 +From: Khem Raj <raj.khem@gmail.com> +Date: Sat, 30 Apr 2016 15:35:39 -0700 +Subject: [PATCH 09/10] Change order of CFLAGS + +Lets us override Werror if need be + +Upstream-Status: Inappropriate + +Signed-off-by: Khem Raj <raj.khem@gmail.com> +--- + 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 1e874e3..91e8550 100644 +--- a/gdb/gdbserver/Makefile.in ++++ b/gdb/gdbserver/Makefile.in +@@ -138,10 +138,10 @@ CXXFLAGS = @CXXFLAGS@ + CPPFLAGS = @CPPFLAGS@ + + # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. +-INTERNAL_CFLAGS_BASE = ${COMPILER_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) ${COMPILER_CFLAGS} -DGDBSERVER + + # LDFLAGS is specifically reserved for setting from the command line + # when running make. +-- +2.8.2 + |