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 | 14 |
1 files changed, 6 insertions, 8 deletions
diff --git a/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff b/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff index 4dfc419c43..16a3aa93d9 100644 --- a/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff +++ b/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff @@ -4,22 +4,20 @@ Upstream-Status: Pending gdb/gdbserver/Makefile.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) +Index: gdb/gdbserver/Makefile.in +=================================================================== --- gdb/gdbserver/Makefile.in.orig +++ gdb/gdbserver/Makefile.in -@@ -118,14 +118,14 @@ WARN_CFLAGS_NO_FORMAT = `echo " $(WARN_C - # CFLAGS is specifically reserved for setting from the command line - # when running make. I.E. "make CFLAGS=-Wmissing-prototypes". - CFLAGS = @CFLAGS@ +@@ -131,10 +131,10 @@ CFLAGS = @CFLAGS@ + CPPFLAGS = @CPPFLAGS@ # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros. -INTERNAL_CFLAGS_BASE = ${CFLAGS} ${GLOBAL_CFLAGS} \ -+INTERNAL_CFLAGS_BASE = ${GLOBAL_CFLAGS} \ - ${PROFILE_CFLAGS} ${INCLUDE_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) ${CFLAGS} -DGDBSERVER # LDFLAGS is specifically reserved for setting from the command line # when running make. - LDFLAGS = @LDFLAGS@ - INTERNAL_LDFLAGS = $(LDFLAGS) @RDYNAMIC@ |