summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/gdb/gdb/gdbserver-cflags-last.diff
blob: 8256f17c3015c1b532794c39f2946031d914cfcb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
Upstream-Status: Pending

Index: gdb/gdbserver/Makefile.in
===================================================================
--- gdb/gdbserver/Makefile.in.orig	2011-03-09 23:32:02.000000000 -0800
+++ gdb/gdbserver/Makefile.in	2011-08-05 21:16:43.592202579 -0700
@@ -94,10 +94,10 @@
 CFLAGS = @CFLAGS@
 
 # 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_WARN_CFLAGS =  ${INTERNAL_CFLAGS_BASE} $(WARN_CFLAGS)
-INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS)
+INTERNAL_CFLAGS =  ${INTERNAL_WARN_CFLAGS} $(WERROR_CFLAGS) ${CFLAGS}
 
 # LDFLAGS is specifically reserved for setting from the command line
 # when running make.
OpenPOWER on IntegriCloud