summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff')
-rw-r--r--meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff16
1 files changed, 9 insertions, 7 deletions
diff --git a/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff b/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff
index 0475a42776..8256f17c30 100644
--- a/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff
+++ b/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff
@@ -2,16 +2,18 @@ Upstream-Status: Pending
2 2
3Index: gdb/gdbserver/Makefile.in 3Index: gdb/gdbserver/Makefile.in
4=================================================================== 4===================================================================
5--- gdb/gdbserver/Makefile.in.orig 5--- gdb/gdbserver/Makefile.in.orig 2011-03-09 23:32:02.000000000 -0800
6+++ gdb/gdbserver/Makefile.in 6+++ gdb/gdbserver/Makefile.in 2011-08-05 21:16:43.592202579 -0700
7@@ -89,8 +89,8 @@ WARN_CFLAGS = -Wall 7@@ -94,10 +94,10 @@
8 CFLAGS = @CFLAGS@ 8 CFLAGS = @CFLAGS@
9 9
10 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. 10 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
11-INTERNAL_CFLAGS = $(WARN_CFLAGS) ${CFLAGS} ${GLOBAL_CFLAGS} \ 11-INTERNAL_CFLAGS_BASE = ${CFLAGS} ${GLOBAL_CFLAGS} \
12- ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} 12+INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \
13+INTERNAL_CFLAGS = $(WARN_CFLAGS) ${GLOBAL_CFLAGS} \ 13 ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS}
14+ ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${CFLAGS} 14 INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS)
15-INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS)
16+INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS}
15 17
16 # LDFLAGS is specifically reserved for setting from the command line 18 # LDFLAGS is specifically reserved for setting from the command line
17 # when running make. 19 # when running make.