summaryrefslogtreecommitdiff
path: root/recipes/gdb/files/gdbserver-cflags-last.diff
diff options
context:
space:
mode:
Diffstat (limited to 'recipes/gdb/files/gdbserver-cflags-last.diff')
-rw-r--r--recipes/gdb/files/gdbserver-cflags-last.diff13
1 files changed, 13 insertions, 0 deletions
diff --git a/recipes/gdb/files/gdbserver-cflags-last.diff b/recipes/gdb/files/gdbserver-cflags-last.diff
new file mode 100644
index 0000000000..42bd740a7c
--- /dev/null
+++ b/recipes/gdb/files/gdbserver-cflags-last.diff
@@ -0,0 +1,13 @@
+--- gdb/gdbserver/Makefile.in.orig 2004-10-05 18:52:56.298419032 +0200
++++ gdb/gdbserver/Makefile.in 2004-10-05 18:53:10.442268840 +0200
+@@ -97,8 +97,8 @@
+ CFLAGS = @CFLAGS@
+
+ # INTERNAL_CFLAGS is the aggregate of all other *CFLAGS macros.
+-INTERNAL_CFLAGS = $(WARN_CFLAGS) ${CFLAGS} ${GLOBAL_CFLAGS} \
+- ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${BFD_CFLAGS}
++INTERNAL_CFLAGS = $(WARN_CFLAGS) ${GLOBAL_CFLAGS} \
++ ${PROFILE_CFLAGS} ${INCLUDE_CFLAGS} ${BFD_CFLAGS} ${CFLAGS}
+
+ # LDFLAGS is specifically reserved for setting from the command line
+ # when running make.