summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2016-04-30 18:41:57 -0700
committerRichard Purdie <richard.purdie@linuxfoundation.org>2016-05-14 23:05:12 +0100
commit0c717ff4e706220467924b5159dbeca12184e7fb (patch)
tree6a5bf7b738c8839d6b78b1b4c760490c1c40d71c /meta/recipes-devtools/gdb/gdb/0009-Change-order-of-CFLAGS.patch
parent6d27c16ec0c63da001a21f8e3157e7cbfa57e554 (diff)
downloadpoky-0c717ff4e706220467924b5159dbeca12184e7fb.tar.gz
gdb: Upgrade to 7.11
(From OE-Core rev: 0cea061bf62f3092d857bc503b96e77f55134a39) 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.patch34
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 @@
1From ba0bbf887d4911ccee9df57cb13eafb1de34bb31 Mon Sep 17 00:00:00 2001
2From: Khem Raj <raj.khem@gmail.com>
3Date: Sat, 30 Apr 2016 15:35:39 -0700
4Subject: [PATCH 09/10] Change order of CFLAGS
5
6Lets us override Werror if need be
7
8Upstream-Status: Inappropriate
9
10Signed-off-by: Khem Raj <raj.khem@gmail.com>
11---
12 gdb/gdbserver/Makefile.in | 4 ++--
13 1 file changed, 2 insertions(+), 2 deletions(-)
14
15diff --git a/gdb/gdbserver/Makefile.in b/gdb/gdbserver/Makefile.in
16index 1e874e3..91e8550 100644
17--- a/gdb/gdbserver/Makefile.in
18+++ b/gdb/gdbserver/Makefile.in
19@@ -138,10 +138,10 @@ CXXFLAGS = @CXXFLAGS@
20 CPPFLAGS = @CPPFLAGS@
21
22 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
23-INTERNAL_CFLAGS_BASE = ${COMPILER_CFLAGS} ${GLOBAL_CFLAGS} \
24+INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \
25 ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${CPPFLAGS}
26 INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS)
27-INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER
28+INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${COMPILER_CFLAGS} -DGDBSERVER
29
30 # LDFLAGS is specifically reserved for setting from the command line
31 # when running make.
32--
332.8.2
34