diff options
Diffstat (limited to 'meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff')
-rw-r--r-- | meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff | 20 |
1 files changed, 13 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 8256f17c30..4dfc419c43 100644 --- a/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff +++ b/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff | |||
@@ -1,10 +1,14 @@ | |||
1 | Upstream-Status: Pending | 1 | Upstream-Status: Pending |
2 | 2 | ||
3 | Index: gdb/gdbserver/Makefile.in | 3 | --- |
4 | =================================================================== | 4 | gdb/gdbserver/Makefile.in | 4 ++-- |
5 | --- gdb/gdbserver/Makefile.in.orig 2011-03-09 23:32:02.000000000 -0800 | 5 | 1 file changed, 2 insertions(+), 2 deletions(-) |
6 | +++ gdb/gdbserver/Makefile.in 2011-08-05 21:16:43.592202579 -0700 | 6 | |
7 | @@ -94,10 +94,10 @@ | 7 | --- gdb/gdbserver/Makefile.in.orig |
8 | +++ gdb/gdbserver/Makefile.in | ||
9 | @@ -118,14 +118,14 @@ WARN_CFLAGS_NO_FORMAT = `echo " $(WARN_C | ||
10 | # CFLAGS is specifically reserved for setting from the command line | ||
11 | # when running make. I.E. "make CFLAGS=-Wmissing-prototypes". | ||
8 | CFLAGS = @CFLAGS@ | 12 | CFLAGS = @CFLAGS@ |
9 | 13 | ||
10 | # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. | 14 | # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. |
@@ -12,8 +16,10 @@ Index: gdb/gdbserver/Makefile.in | |||
12 | +INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \ | 16 | +INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \ |
13 | ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} | 17 | ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} |
14 | INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS) | 18 | INTERNAL_WARN_CFLAGS = ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS) |
15 | -INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) | 19 | -INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) -DGDBSERVER |
16 | +INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS} | 20 | +INTERNAL_CFLAGS = ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS} -DGDBSERVER |
17 | 21 | ||
18 | # LDFLAGS is specifically reserved for setting from the command line | 22 | # LDFLAGS is specifically reserved for setting from the command line |
19 | # when running make. | 23 | # when running make. |
24 | LDFLAGS = @LDFLAGS@ | ||
25 | INTERNAL_LDFLAGS = $(LDFLAGS) @RDYNAMIC@ | ||