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.diff15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff b/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff
new file mode 100644
index 0000000000..41395f936e
--- /dev/null
+++ b/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff
@@ -0,0 +1,15 @@
1Index: gdb/gdbserver/Makefile.in
2===================================================================
3--- gdb/gdbserver/Makefile.in.orig
4+++ gdb/gdbserver/Makefile.in
5@@ -89,8 +89,8 @@ WARN_CFLAGS = -Wall
6 CFLAGS = @CFLAGS@
7
8 # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
9-INTERNAL_CFLAGS = $(WARN_CFLAGS) ${CFLAGS} ${GLOBAL_CFLAGS} \
10- ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS}
11+INTERNAL_CFLAGS = $(WARN_CFLAGS) ${GLOBAL_CFLAGS} \
12+ ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${CFLAGS}
13
14 # LDFLAGS is specifically reserved for setting from the command line
15 # when running make.